8 Commits

Author SHA1 Message Date
benoitc
c785be0780 new parser using StringIO, faster than concatenate strings. Lot of fixes
in TeeInput.
2010-03-06 20:47:39 +01:00
benoitc
ea02c5e073 this seems to fix problem with upload. Tested with the django app 2010-02-28 22:46:35 +01:00
Paul J. Davis
588b48b2cd Comma separate repeated request headers.
RFC 2616 says that only headers that are allowed to have comma separated
values are acceptable for repetition. Though it doesn't specify an error
condition for that situation. I reckon the cleanest way would be to list
the headers that are acceptable for repetition, and return a 400 Bad
Request.
2010-02-10 10:55:09 -05:00
Benoit Chesneau
b568852465 add request unitests. fix TeeInput & parser 2010-01-21 00:18:42 +01:00
Benoit Chesneau
ba6db08825 add license headers to tests 2010-01-20 22:01:45 +01:00
Benoit Chesneau
db01c210a2 Set blocking to 0 back since we prevented inheritence of the socket the socket. 2010-01-20 18:06:35 +01:00
Benoit Chesneau
bfeb4f9416 fix chunked encoding and add tests 2010-01-20 16:21:20 +01:00
Benoit Chesneau
d4ae13cde0 forgot to commit tests 2010-01-20 15:21:57 +01:00