Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The docs for AnyEvent::HTTP (which I haven't used) show the headers being passed in to http_request() as a reference to a hash, not the hash itself. Try:
I can't see a simple way to turn on tracing in AnyEvent::HTTP either, which isn't helping my debugging. Maybe setting $ENV{ PERL_ANYEVENT_VERBOSE } see http://search.cpan.org/~mlehmann/AnyEvent-7.12/lib/AnyEvent.pm#ENVIRONMENT_VARIABLES
The way forward always starts with a minimal test.
In reply to Re: AnyEvent::HTTP not sending ContentLength ?
by 1nickt
|
|