in reply to
Calling LWP/Mech from AnyEvent
This is now solved. It turns out LWP::Protocol::http replaces newlines in headers with spaces, and neither AnyEvent::HTTP, nor LWP::Protocol::AnyEvent::http did similar. Though the latter now does so with the latest CPAN update.
Comment on
Re: Calling LWP/Mech from AnyEvent
Replies are listed 'Best First'.
Re^2: Calling LWP/Mech from AnyEvent
by
rwstauner
(Acolyte)
on Jan 26, 2013 at 17:37 UTC
From what I can tell LWP::Protocol::AnyEvent::http does not "fix" the request, just the response:
https://metacpan.org/diff/release/IKEGAMI/LWP-Protocol-AnyEvent-http-v1.0.5/IKEGAMI/LWP-Protocol-AnyEvent-http-v1.0.6#inc/Test/HTTP/log-server
[reply]
In Section
Seekers of Perl Wisdom