Skip Menu |
 

This queue is for tickets about the POE-Component-Client-HTTP CPAN distribution.

Report information
The Basics
Id: 15025
Status: resolved
Priority: 0/
Queue: POE-Component-Client-HTTP

People
Owner: Nobody in particular
Requestors: hzheng [...] yahoo-inc.com
Cc:
AdminCc:

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



Subject: fetch http://www.yahoo.com returns with 200 but empty $response->content
Download (untitled) / with headers
text/plain 318b
Put http://www.yahoo.com as the target URL in the sample client code http://poe.perl.org/?POE_Cookbook/Web_Client line 15. It returns 200 success but $http_response->content is empty string. tcpdump shows the entire page is returned to the client. I tried 0.7002 and 0.72, on FreeBSD 4.10, with Perl 5.6.1. Thanks.
From: hzheng [...] yahoo-inc.com
Download (untitled) / with headers
text/plain 120b
This appears to be related to HTTP chunking. When I changed Protocol to 'HTTP/0.9', return content is no longer empty.
Download (untitled) / with headers
text/plain 805b
[guest - Wed Oct 12 02:30:43 2005]: Can you double check that exactly 0.72 version is used. I had similar problem with Yahoo. This was caused by extra spaces after chunk length, which Yahoo sends (i.e. "8130 \r\n") I reported this (by IRC), and Rocco updated regular expression in Filter::HTTPChunk.pm, and broken Yahoo chunked response become working. I just checked, I have 0.72 version and this example is working if to change url to http://www.yahoo.com/ Show quoted text
> Put http://www.yahoo.com as the target URL in the sample client code > http://poe.perl.org/?POE_Cookbook/Web_Client line 15. It returns 200 > success but $http_response->content is empty string. > > tcpdump shows the entire page is returned to the client. > > I tried 0.7002 and 0.72, on FreeBSD 4.10, with Perl 5.6.1. > > Thanks.


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.