aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/http1/test_read.py
Commit message (Collapse)AuthorAgeFilesLines
* remove empty lines at beginning of fileThomas Kriechbaumer2016-10-171-1/+0
|
* python3: clean up super and __future__Aldo Cortesi2016-10-171-1/+0
|
* python3: clean up class bracketsAldo Cortesi2016-10-171-2/+2
|
* Zap object base classAldo Cortesi2016-10-171-2/+2
|
* Fix netlib.utils.is_valid_hostAldo Cortesi2016-07-211-0/+9
| | | | | | | | - Don't crash when passed an empty string. This translated into an actual core crash, discovered while fuzzing with afl. - Taking a slice of length one out of bytes returns an integer, so the check for trailing period in this function never worked on Python3. - Add unit tests.
* fix-1366Thomas Kriechbaumer2016-07-161-4/+22
|
* netlib.utils.get_header_tokens -> netlib.http1.read.get_header_tokensAldo Cortesi2016-05-311-1/+12
| | | | Placing this next to its only use.
* more style cleanupThomas Kriechbaumer2016-05-291-0/+4
| | | | Use this to check: flake8 --count mitmproxy netlib pathod examples test
* cleanup imports with flake8Thomas Kriechbaumer2016-05-281-1/+0
|
* add MultiDictMaximilian Hils2016-05-181-4/+4
| | | | | | | | This commit introduces MultiDict, a multi-dictionary similar to ODict, but with improved semantics (as in the Headers class). MultiDict fixes a few issues that were present in the Request/Response API. In particular, `request.cookies["foo"] = "bar"` has previously been a no-op, as the cookies property returned a mutable _copy_ of the cookies.
* move tests into shared folderMaximilian Hils2016-02-151-0/+333