Aldo Cortesi
|
d3b46feb60
|
Handle non-integer port error in parse_init_connect correctly
|
2013-01-05 20:06:55 +13:00 |
|
Aldo Cortesi
|
ddc08efde1
|
Minor cleanup of http.parse_init* methods.
|
2013-01-04 14:23:52 +13:00 |
|
Aldo Cortesi
|
1c21a28e64
|
read_headers: handle some crashes, return None on invalid data.
|
2012-07-30 12:50:35 +12:00 |
|
Aldo Cortesi
|
91752990d5
|
Handle HTTP responses that have a body but no content-length or transfer encoding
We check if the server sent a connection:close header, and read till the socket
closes.
Closes #2
|
2012-07-24 11:41:18 +12:00 |
|
Aldo Cortesi
|
ed64b0e796
|
Fix http_protocol parsing crash discovered with pathoc fuzzing.
|
2012-07-22 12:35:16 +12:00 |
|
Aldo Cortesi
|
29f907ecf9
|
Handle HTTP versions malformed due to non-integer major/minor numbers.
|
2012-07-21 17:27:23 +12:00 |
|
Aldo Cortesi
|
67669a2a57
|
Allow control of buffer size for TCPClient, improve error messages.
|
2012-06-30 10:52:28 +12:00 |
|
Aldo Cortesi
|
5d4c7829bf
|
Minor refactoring.
|
2012-06-27 16:24:22 +12:00 |
|
Aldo Cortesi
|
7d01d5c797
|
Don't read all from server by default.
This can cause us to hang waiting for data. More research is needed to
establish the right course of action here.
|
2012-06-24 23:13:09 +12:00 |
|
Aldo Cortesi
|
5988b65419
|
Add and unit test http.read_response
|
2012-06-24 22:45:40 +12:00 |
|
Aldo Cortesi
|
0de765f360
|
Make read_headers return an ODictCaseless object.
|
2012-06-24 21:49:23 +12:00 |
|
Aldo Cortesi
|
1263221ddd
|
100% testcoverage for netlib.http
|
2012-06-23 15:07:42 +12:00 |
|
Aldo Cortesi
|
5cf6aeb926
|
protocol.py -> http.py
|
2012-06-23 13:56:17 +12:00 |
|