aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* move mitmproxyMaximilian Hils2016-02-151-175/+0
|
* code formatting: fix whitespace issuesThomas Kriechbaumer2016-01-271-1/+3
|
* improve display of non-ascii contentsMaximilian Hils2015-09-121-6/+7
| | | | fixes #283
* fix bugsMaximilian Hils2015-09-111-1/+1
|
* restructure code, remove cruftMaximilian Hils2015-08-301-4/+0
|
* move code to netlibThomas Kriechbaumer2015-08-101-56/+0
|
* move code from mitmproxy to netlibThomas Kriechbaumer2015-08-011-22/+0
|
* move code to netlib and implement protocolsThomas Kriechbaumer2015-07-301-10/+2
|
* Add coding style check, reformat.Aldo Cortesi2015-05-301-11/+18
|
* pretty_size now lives in netlib.utilsAldo Cortesi2015-04-301-14/+1
|
* Merge pull request #515 from krzysiekbielicki/masterMaximilian Hils2015-03-261-0/+27
|\ | | | | [#514] Add support for ignoring payload params in multipart/form-data
| * [#514] Add support for ignoring payload params in multipart/form-dataKrzysztof Bielicki2015-03-101-0/+27
| |
* | Replace far-too-clever decorator LRU cache with something simplerAldo Cortesi2015-03-221-30/+23
|/
* Minor refactor to PR #496Tarashish Mishra2015-03-041-6/+8
|
* removed unused parameterMarcelo Glezer2015-03-031-1/+1
|
* fixed formatting and added a 'test' (sort of)Marcelo Glezer2015-03-021-14/+8
|
* #487 added microsecond support to format_timestamp and used in ↵Marcelo Glezer2015-03-021-5/+14
| | | | FlowDetailView. Still WIP.
* added to flowlist / flowdetail time elapsed between request sent and ↵Marcelo Glezer2015-02-261-0/+12
| | | | response received
* suppress SPDY/HTTP2 announcement headers, fix #277Maximilian Hils2014-08-031-6/+0
|
* always use relative imports, fix status bar bugMaximilian Hils2014-03-101-0/+1
|
* add advanced proxying options, add SSL-terminating capability to mitmproxyMaximilian Hils2014-03-101-9/+0
|
* Silence pyflakesAldo Cortesi2014-01-191-1/+1
| | | | And pick up one bug as a consequence.
* utils: Add missing "B" for pretty_size()Kyle Manna2013-08-131-1/+1
| | | | * Add missing unit for megabytes, should print "MB".
* Remove GPL notices left in source files after our change to the MIT license.Aldo Cortesi2013-08-011-14/+0
| | | | Thanks to Roy Shamir for reporting this.
* Keep blank URL parametersEric Entzel2013-02-111-1/+1
| | | | TODO: This should probably be configurable
* Move cleanBin and hexdump into netutils.Aldo Cortesi2012-09-241-37/+0
|
* Add an "r" shortcut in grid editors to read value from file.Aldo Cortesi2012-08-251-1/+1
|
* Further content view cleaups.Aldo Cortesi2012-08-181-35/+0
|
* Huge cleanup of content viewers.Aldo Cortesi2012-08-181-2/+1
|
* Optional AMF decoding supportSahn Lam2012-08-171-0/+36
| | | | If PyAMF is installed, enable AMF decoding.
* Adapt for API changes in netlib.Aldo Cortesi2012-06-231-2/+2
|
* Extract protocol and tcp server implementations into netlib.Aldo Cortesi2012-06-191-4/+1
|
* Refactor protocol.py to remove dependence on flow and utils.Aldo Cortesi2012-06-171-26/+2
|
* Fix a crashing bug when replacing text in a flow with unicode bodies.Aldo Cortesi2012-05-251-1/+13
|
* Minor cruft removal.Aldo Cortesi2012-04-091-2/+2
|
* Integrate lxml for pretty-printing HTML and XML.Aldo Cortesi2012-04-071-45/+0
| | | | | Tackling the pretty-printing performance problem head-on, at the cost of a major dependency.
* Add a variant of cleanBin that escapes newlines and tabs.Aldo Cortesi2012-03-271-3/+10
| | | | Use this to fix the hex display option.
* Pretty view now indents Javascript.Aldo Cortesi2012-03-251-3/+2
| | | | Thanks to the JSBeautifier project, which is now included in the contrib directory.
* Refactor pretty view forcing somewhat.Aldo Cortesi2012-03-201-1/+1
| | | | | | | - Use a lookup table of content types -> view modes. - Add a urlencoded forcing. Remove "html" - at the moment it's the same as "xmlish". - Display type when forced.
* Add a simple parser for content type specifications.Aldo Cortesi2012-03-201-0/+27
|
* Specialize GridEditor into a number of subclasses.Aldo Cortesi2012-03-191-0/+1
|
* Factor out cert operations in to certutils.py.Aldo Cortesi2012-02-291-236/+2
|
* Fix cert generation harder.Aldo Cortesi2012-02-271-2/+2
|
* Fix problems with SANs and certificate generation.Aldo Cortesi2012-02-271-1/+9
|
* Better certificate parsing.Aldo Cortesi2012-02-271-3/+1
|
* Add upstream certificate lookup.Aldo Cortesi2012-02-271-4/+69
| | | | | | This initiates a connection to the server to obtain certificate information to generate interception certificates. At the moment, the information used is the Common Name, and the list of Subject Alternative Names.
* Firm up what we consider to be a valid proxy spec.Aldo Cortesi2012-02-181-1/+1
|
* Firm up reverse proxy specification.Aldo Cortesi2012-02-181-0/+17
| | | | | | - Extract proxy spec parsing and unparsing functions. - Add a status indicator in mitmproxy. - Add the "R" keybinding for changing the reverse proxy from within mitmproxy.
* Refactor reverse proxyingAldo Cortesi2012-02-181-1/+7
| | | | | | | - Retain the specification from the Host header as a Request's description. - Expand upstream proxy specifications to include the scheme. We now say https://hostname:port - Move the "R" revert keybinding to "v" to make room for a reverse proxy binding that matches the command-line flag.
* Add get_query and set_query methods to Request.Aldo Cortesi2012-02-091-1/+11
|