Skip Menu |

This queue is for tickets about the HTTP-Parser CPAN distribution.

Report information
The Basics
Id: 67474
Status: new
Priority: 0/
Queue: HTTP-Parser

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Parser generates warnings when response starts with whitespace
If a HTTP response contains no headers at all, HTTP::Parser gets confused and generates a ton of warnings. The following example occurs for me with http://amazon.com/ my $parser = HTTP::Parser->new; $parser->add(<<'END_HTTP'); <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> END_HTTP