Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by noxxi (Pilgrim)
on Apr 12, 2017 at 15:04 UTC ( [id://1187777]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1187777]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-18 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found