Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: HTTPS returning 400 from Linux but 200 OK from Windows

by Corion (Patriarch)
on Feb 13, 2017 at 18:32 UTC ( [id://1181914]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    use strict;
    ...
    $ua->env_proxy;
    warn Dumper $ua->proxy('https');
    $ua->get('https://google.com')
    
  2. or download this
    $ua->default_headers->header('User-Agent' => 'curl/7.10.x (i386-redhat
    +-linux-gnu) libcurl/7.10.x OpenSSL/0.9.7a ipv6 zlib/1.1.4');
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1181914]
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: (2)
As of 2024-04-25 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found