aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/http1/assemble.py
Commit message (Collapse)AuthorAgeFilesLines
* The final piece: netlib -> mitproxy.netAldo Cortesi2016-10-201-100/+0
|
* netlib.exceptions.* -> mitmproxy.exceptionsAldo Cortesi2016-10-201-1/+1
|
* remove empty lines at beginning of fileThomas Kriechbaumer2016-10-171-1/+0
|
* python3: clean up super and __future__Aldo Cortesi2016-10-171-1/+0
|
* message.content -> .raw_content, implement .textMaximilian Hils2016-07-021-2/+2
| | | | | | | | | | | | | | | This PR improves our handling of HTTP message body encodings: - The unaltered message body is now accessible as `.raw_content` - The "content-encoding"-decoded content (i.e. gzip removed) content is not `.content`, as this is what we want in 99% of the cases. - `.text` now provides the "content-encoding"-decoded and then "content-type charset"-decoded message body. - The decoded values for `.content` and `.text` are cached, so that repeated access and `x.text = x.text` is cheap. - The `decoded()` decorator is now deprecated, as we can now just use `.content`. Similarly `HTTPMessage.get_decoded_content()` is deprecated.
* Utils cleanupsAldo Cortesi2016-06-071-2/+2
| | | | | | | | - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes.
* Reorganise netlib imports according to Google Style GuideAldo Cortesi2016-06-011-4/+4
|
* netlib: fix most flake8 offensesThomas Kriechbaumer2016-05-281-0/+1
|
* cleanup imports with flake8Thomas Kriechbaumer2016-05-281-1/+0
|
* update commentsMatthew Shao2016-03-261-4/+4
|
* replace CONTENT_MISSING with None.Matthew Shao2016-03-261-6/+4
|
* combine projectsMaximilian Hils2016-02-181-0/+104