Maximilian Hils
|
0f22039bca
|
add CONNECT request to list of request types that don't have a response body
|
2014-01-18 22:55:40 +01:00 |
|
Maximilian Hils
|
cebec67e08
|
refactor read_http_body
|
2013-12-15 06:43:54 +01:00 |
|
Maximilian Hils
|
969595cca7
|
add requirements.txt, small changes
|
2013-12-13 06:24:08 +01:00 |
|
Maximilian Hils
|
5e4ccbd7ed
|
attempt to fix #24
|
2013-11-19 04:11:24 +01:00 |
|
Aldo Cortesi
|
5f0ad7b2a6
|
Ensure that HTTP methods are ASCII.
|
2013-03-03 22:13:23 +13:00 |
|
Aldo Cortesi
|
5a050bb6b2
|
Tighten up checks on port ranges and path character sets.
|
2013-03-03 21:39:15 +13:00 |
|
Aldo Cortesi
|
b21a7da142
|
parse_url: Handle invalid IPv6 addresses
|
2013-03-03 15:12:58 +13:00 |
|
Aldo Cortesi
|
7b9300743e
|
More parse_url solidification: check that port is in range 0-65535
|
2013-03-03 15:08:17 +13:00 |
|
Aldo Cortesi
|
cd4ed8530f
|
Check that hosts in parse_url do not contain NULL bytes.
|
2013-03-03 15:03:57 +13:00 |
|
Aldo Cortesi
|
2897ddfbee
|
Stricter error checking for http.parse_url
|
2013-03-03 14:52:06 +13:00 |
|
Aldo Cortesi
|
0acab862a6
|
Integrate HTTP auth, test to 100%
|
2013-03-03 10:37:28 +13:00 |
|
Aldo Cortesi
|
97537417f0
|
Factor out http.parse_response_line
|
2013-03-02 16:57:38 +13:00 |
|
Aldo Cortesi
|
97e11a219f
|
Housekeeping and cleanup, some minor argument name changes.
|
2013-02-24 15:36:15 +13:00 |
|
Aldo Cortesi
|
c6f9a2d74d
|
More accurate description of an HTTP read error, make pyflakes happy.
|
2013-02-24 11:08:43 +13:00 |
|
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 |
|