Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Twiggy CPAN distribution.

Report information
The Basics
Id: 78144
Status: open
Priority: 0/
Queue: Twiggy

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

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



Subject: t/disconnect.t doesn't pass
bash$ perl -Ilib t/disconnect.t ok 1 - got empty response to empty request not ok 2 - got empty response to incomplete header request 1..2 After re-enabling diagnostic messages, it turned out the server really responds with a qq{HTTP/1.0 400 Bad Request Content-Type: text/plain } Is that OK (i.e. the test should be fixed), or is that not OK?
Hello, Sorry for the this unclear and not exactly polite bug report... Let me start from the beginning. I'm trying to install Plack::Handler::Twiggy on my Ubuntu machine, with perl v5.10.1. I'm using cpan to install. When building it, I see that t/disconnect.t doesn't pass and, after enabling diagnostics, see that the server responds to incomplete headers with a HTTP 400 message, while the test expects an empty one. The message in question is (I qoute it using perl's qq) qq{HTTP/1.0 400 Bad Request Content-Type: text/plain } I assume it's a valid reply to incomplete incoming headers, am I right? I would appreciate any clarification here. P.S. I've just made a force install and the web-server is running fine so far.