Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 6945
Status: resolved
Priority: 0/
Queue: libwww-perl

Owner: Nobody in particular
Requestors: dave.mueller [...]

Bug Information
Severity: Wishlist
Broken in: 5.800
Fixed in: (no value)

Subject: LWP::UserAgent doesn't handle Transfer-Encoding: Chunked
Download (untitled) / with headers
text/plain 528b
When doing $ua->request(GET $url) on a page which returns the http header "Transfer-Encoding: chunked", the user agent returns undef, and reports no errors. I am running RedHat Linux 8, perl 5.6.1. I believe that the isuue is related to "Byte-serving". The webserver is attempting to send down the requested page in a series of responses rather than one large hunk. When I run the request through "plug-proxy" to moniter the response is see multiple responses to the request, each containing part of the data for the response.
Download (untitled) / with headers
text/plain 248b
LWP::UserAgent does support Transfer-Encoding: Chunked. There is even a test (t/live/jigsaw-chunk.t) to prove it. Please provide a program that demonstrates this error. It might be that we end up incompatible with some (probably bad) servers.

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

Please report any issues with to