Aldo Cortesi
|
9ce2f473f6
|
Simplify expected_http_body_size signature, fixing a traceback found in fuzzing
|
2014-11-07 15:59:00 +13:00 |
|
Aldo Cortesi
|
ba468f12b8
|
Whitespace and legibility
|
2014-10-26 17:30:26 +13:00 |
|
Aldo Cortesi
|
f4013dcd40
|
Add a FIXME note for discarded credentials
|
2014-09-07 12:47:17 +12:00 |
|
Aldo Cortesi
|
52f430c934
|
Merge pull request #37 from pritambaral/urlparse
More accurate host, port parsing
|
2014-09-07 12:46:01 +12:00 |
|
Maximilian Hils
|
6d1b601ddf
|
minor cleanups
|
2014-08-16 15:53:07 +02:00 |
|
Maximilian Hils
|
254a686235
|
Merge branch 'master' into stream
Conflicts:
netlib/http.py
|
2014-07-21 14:02:56 +02:00 |
|
Maximilian Hils
|
6bd5df79f8
|
refactor response length handling
|
2014-07-21 14:01:24 +02:00 |
|
Brad Peabody
|
280d9b8625
|
added some additional functions for dealing with chunks - needed for mitmproxy streaming capability
|
2014-07-17 22:34:29 -07:00 |
|
Maximilian Hils
|
24ef9c61a3
|
improve docs
|
2014-07-14 17:38:49 +02:00 |
|
Brad Peabody
|
273c25a705
|
added option for read_response to only read the headers, beginnings of implementing streamed result in mitmproxy
|
2014-07-12 22:42:06 -07:00 |
|
Pritam Baral
|
dc071c4ea7
|
Ignore username:password part in url
|
2014-05-28 07:10:10 +05:30 |
|
Maximilian Hils
|
52c6ba8880
|
properly subclass Exception in HTTPError
|
2014-05-15 18:15:29 +02:00 |
|
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 |
|