aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/http1
Commit message (Collapse)AuthorAgeFilesLines
* The final piece: netlib -> mitproxy.netAldo Cortesi2016-10-203-472/+0
|
* netlib.tutils -> mitmproxy.test.tutilsAldo Cortesi2016-10-202-2/+2
| | | | There's a LOT more to be done refactoring our different conflicting test utils.
* netlib.exceptions.* -> mitmproxy.exceptionsAldo Cortesi2016-10-202-31/+30
|
* remove empty lines at beginning of fileThomas Kriechbaumer2016-10-171-1/+0
|
* python3: clean up super and __future__Aldo Cortesi2016-10-172-2/+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
|
* py3++Maximilian Hils2016-07-071-1/+1
|
* netlib.utils.get_header_tokens -> netlib.http1.read.get_header_tokensAldo Cortesi2016-05-311-1/+12
| | | | Placing this next to its only use.
* fix headers orderThomas Kriechbaumer2016-05-291-1/+1
|
* more style cleanupThomas Kriechbaumer2016-05-292-5/+9
| | | | 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.
* replace CONTENT_MISSING with None.Matthew Shao2016-03-261-3/+3
|
* move tests into shared folderMaximilian Hils2016-02-153-0/+435