in reply to Re: SOAP::Lite incompatible usage of HTTP::Headers
in thread SOAP::Lite incompatible usage of HTTP::Headers

I met with exactly the same problem. Changing line 103 of SOAP/Transport/HTTP2.pm to below can fix the symptom.

$self->request(HTTP::Request->new( $r->method() => $r->uri, HTTP::Headers->new(%$r->headers_in), do { my ($c,$buf); while ($r->read($buf,$cl)) { $c.=$buf; } $c; } ));
looks like a bug.

Replies are listed 'Best First'.
Re^3: SOAP::Lite incompatible usage of HTTP::Headers
by mgage (Initiate) on May 18, 2014 at 22:44 UTC
    I see the same bug also. For me it just became apparent as the site I work on switched from perl 5.12 to perl 5.16. (Possibly why the bug was not more widely reported.)