in reply to Re: io::socket::ssl connecting to specific page on site
in thread io::socket::ssl connecting to specific page on site

> print $cl "GET /stream/report?token=4gaPemdzfM2M9XwMU9HT8MJSc6Fu6MlA HTTPS/1.0\r\n\r\n";

That's interesting that this worked. Must be a forgiving server since the protocol version should not be HTTPS/1.0 but HTTP/1.0 (without S).

  • Comment on Re^2: io::socket::ssl connecting to specific page on site

Replies are listed 'Best First'.
Re^3: io::socket::ssl connecting to specific page on site
by ve6sar (Novice) on Apr 14, 2017 at 20:57 UTC
    I corrected it to http in the actual code, it fails with https.