web::WebClient supports only http-requests right now but it does not check that its reqUri.scheme is "http".
web::WebClient
I wasted some time looking for a bug in my application when I was trying to send a request by https.
I'd expect sys::UnsupportedErr to be thrown if given scheme is "https" and sys::ArgErr if it's anything else (except "http").
sys::UnsupportedErr
sys::ArgErr
Yeah that seems like good idea. I pushed patch
changeset
Login or Signup to reply.
endragor Fri 9 Nov 2012
web::WebClient
supports only http-requests right now but it does not check that its reqUri.scheme is "http".I wasted some time looking for a bug in my application when I was trying to send a request by https.
I'd expect
sys::UnsupportedErr
to be thrown if given scheme is "https" andsys::ArgErr
if it's anything else (except "http").brian Sat 10 Nov 2012
Yeah that seems like good idea. I pushed patch
changeset