Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

HTTPS returning 400 from Linux but 200 OK from Windows

by Random_Walk (Prior)
on Jan 27, 2017 at 08:35 UTC ( [id://1180446]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    else {
        die $response->status_line;
    }
    
  2. or download this
    myaccount@linuxhost:~> curl https://www.google.com
    <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset
    +=utf-8">
    ...
    The document has moved
    <A HREF="https://www.google.se/?gfe_rd=cr&amp;ei=XwaLWMjfB6Sr8weh06_QD
    +Q">here</A>.
    </BODY></HTML>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found