aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Porting to Python 3.4Sam Cleveland2015-11-111-2/+2
| | | | | | | | | | | | | Fixed byte string formatting for hexdump. = test session starts = platform darwin -- Python 3.4.1, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 rootdir: /Users/samc/src/python/netlib, inifile: collected 11 items netlib/test/test_utils.py ........... = 11 passed in 0.23 seconds =
* Revert "Porting netlib to python3.4"Sam Cleveland2015-11-111-8/+8
| | | | This reverts commit 823718348598efb324298ca29ad4cb7d5097c084.
* Porting netlib to python3.4Sam Cleveland2015-11-111-8/+8
| | | | | | | | | | | | | | | | | Updated utils.py using 2to3-3.4 Updated hexdump to use .format() with .encode() to support python 3.4 Python 3.5 supports .format() on bytes objects, but 3.4 is the current default on Ubuntu. samc$ py.test netlib/test/test_utils.py = test session starts = platform darwin -- Python 3.4.1, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 rootdir: /Users/samc/src/python/netlib, inifile: collected 11 items netlib/test/test_utils.py ........... = 11 passed in 0.19 seconds =
* Merge branch 'http-models'Maximilian Hils2015-09-281-5/+10
|\
| * refactor request modelMaximilian Hils2015-09-261-5/+10
| |
* | fix mitmproxy/mitmproxy#784Maximilian Hils2015-09-281-2/+3
|/
* minor fixesMaximilian Hils2015-09-251-1/+1
|
* Headers: return str on all Python versionsMaximilian Hils2015-09-221-8/+9
|
* minor encoding fixesMaximilian Hils2015-09-211-3/+3
|
* python 3++Maximilian Hils2015-09-211-17/+36
|
* python3++Maximilian Hils2015-09-201-0/+6
|
* python3++Maximilian Hils2015-09-171-11/+11
|
* clean up http message modelsMaximilian Hils2015-09-171-21/+9
|
* finish netlib.http.http1 refactorMaximilian Hils2015-09-161-3/+3
|
* wipMaximilian Hils2015-09-151-61/+101
|
* make clean_bin unicode-awareMaximilian Hils2015-09-121-14/+25
|
* headers: adjust everythingMaximilian Hils2015-09-051-7/+6
|
* wipMaximilian Hils2015-08-281-1/+1
|
* cleanup whitespaceThomas Kriechbaumer2015-08-101-2/+3
|
* add move tests and code from mitmproxyThomas Kriechbaumer2015-08-101-0/+56
|
* fix tutils importsThomas Kriechbaumer2015-08-011-1/+1
|
* move code from mitmproxy to netlibThomas Kriechbaumer2015-08-011-0/+100
|
* add on-the-wire representation methodsThomas Kriechbaumer2015-07-291-0/+10
|
* Remove dependence on pathod in test suite.Aldo Cortesi2015-06-231-1/+20
|
* fix warnings and code smellsThomas Kriechbaumer2015-06-171-1/+1
| | | | use prospector to find them
* cleanup code with autopep8Thomas Kriechbaumer2015-05-271-4/+6
| | | | run the following command: $ autopep8 -i -r -a -a .
* websockets: more compact and legible human_readableAldo Cortesi2015-04-301-4/+21
|
* Add a tiny utility class for keeping bi-directional mappings.Aldo Cortesi2015-04-301-0/+26
| | | | Use it in websocket and socks.
* websocket: interface refactoringAldo Cortesi2015-04-241-0/+16
| | | | | | | - Separate out FrameHeader. We need to deal with this separately in many circumstances. - Simpler equality scheme. - Bits are now specified by truthiness - we don't care about the integer value. This means lots of validation is not needed any more.
* Whitespace, pep8, mixed indentationAldo Cortesi2015-04-211-1/+3
|
* Migrate requeset reading from mitmproxy to netlibAldo Cortesi2015-04-211-1/+1
|
* netlib websocketsChandler Abraham2015-04-101-0/+3
|
* minor cleanupsMaximilian Hils2014-08-161-1/+1
|
* remove ntop windows workaroundMaximilian Hils2014-06-251-22/+1
|
* add inet_ntop/inet_pton functionsMaximilian Hils2014-06-251-3/+26
|
* Tighten up checks on port ranges and path character sets.Aldo Cortesi2013-03-031-0/+8
|
* Make cleanBin escape carriage returns.Aldo Cortesi2012-09-271-1/+1
| | | | We get confusing output on terminals if we leave \r unescaped.
* Create netlib.utils, move cleanBin and hexdump from libmproxy.utils.Aldo Cortesi2012-09-241-0/+36