Skip Menu |
 

This queue is for tickets about the Apache2-SOAP CPAN distribution.

Report information
The Basics
Id: 19801
Status: open
Priority: 0/
Queue: Apache2-SOAP

People
Owner: Nobody in particular
Requestors: budswell [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.71
Fixed in: (no value)



Subject: Not capturing HTTP Headers
Download (untitled) / with headers
text/plain 623b
Hi, first I wanna say thanks, this package is a life saver. Looks like ther HTTP headers are not being camptured correctly. I found this becuase the action method returns undef. Looking at the code I think the problem stems from the expression HTTP::Headers->new($r->headers_in), which is a paramter to HTTP::Request->new. My guess is that in Apache2 headers_in is returning an APR::Table which sounds like some sort of tied object. This means that the HTTP::Headers::new method will not work as intended because its getting a tied scalar where it expects a hash. I could of course be very wrong. Have fun, Bud
Download (untitled) / with headers
text/plain 853b
On Thu Jun 08 23:14:36 2006, guest wrote: Show quoted text
> Hi, first I wanna say thanks, this package is a life saver. > > Looks like ther HTTP headers are not being camptured correctly. > I found this becuase the action method returns undef. > > Looking at the code I think the problem stems from the expression > HTTP::Headers->new($r->headers_in), > which is a paramter to HTTP::Request->new. > > My guess is that in Apache2 headers_in is returning an APR::Table which > sounds like some sort of tied object. This means that the > HTTP::Headers::new method will not work as intended because its getting > a tied scalar where it expects a hash. I could of course be very wrong. > > Have fun, > Bud
Thanks for the report. As far as I can tell, $r->headers_in hasn't changed behaviour between mod_perl 1 and 2. Do you know if this worked in mod_perl 1?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.