Ticket #2842 defect new
[PATCH] Handle bad formatted headers in lineRecieved() in twisted/web/http.py
Description
Some web servers send us bad formatted headers. In these cases, the instruction [ key, val = line.split(':', 1) ] just don't work because there is no ":" in line. So there is a little patch that makes some tests before splitting. I don't know if this is useful for twisted but there is a lot of servers that send headers like that...
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

