Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: LWP UserAgent response header in decoded_content

by ikegami (Patriarch)
on Mar 18, 2014 at 17:38 UTC ( [id://1078831]=note: print w/replies, xml ) Need Help??


in reply to Re: LWP UserAgent response header in decoded_content
in thread LWP UserAgent response header in decoded_content

It's easy to see what the server returns to confirm this is a server problem.
perl -MIO::Socket::INET -e' my $s = IO::Socket::INET->new("192.168.0.198:80"); print $s "GET / HTTP/1.0\r\n"; print $s "Host: 192.168.0.198\r\n"; print $s "\r\n"; print while <$s>; '

Note: I omitted Content-Type: application/json from the request since GET requests don't have a body (of any type).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-18 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found