in reply to LWP UserAgent response header in decoded_content
Any thoughts on what may be causing the headers to be included in the content?
I think broken webserver
For example
This will show headers in the content ... but its just content in the content .. everything after header is contentuse CGI(); my $q = CGI->new; print $q->header, $q->header, $q->Dump; __END__
I'm not ruling out some odd /old misbehaving combination of LWP modules ... make sure you have the latest LWP...
then fix your arudino server
For diagnostics you might try using the following program and showing us the output
use Data::Dump qw/ dd /; use WWW::Mechanize; my $ua = WWW::Mechanize->new; $ua->get( $server_endpoint ); dd( $ua ); __END__
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: LWP UserAgent response header in decoded_content
by ikegami (Patriarch) on Mar 18, 2014 at 17:38 UTC | |
|
Re^2: LWP UserAgent response header in decoded_content
by jeff_e (Initiate) on Mar 18, 2014 at 21:21 UTC |