aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/flow.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve revert modelAldo Cortesi2012-04-041-8/+5
| | | | | | | - Flows are backed up whenever an interactive, non-script change is made. - That backup is canonical and never changed - "V" will always revert to it. This makes more sense than what we had previously....
* Serialize requestcount for ClientConnect objects.Aldo Cortesi2012-04-031-4/+9
|
* Add accessor method for SSLCert object on Response.Aldo Cortesi2012-04-021-6/+13
|
* Expand SSL cert supportAldo Cortesi2012-04-021-1/+5
| | | | | | - Capture the remote SSL certificate - Expose the remote cert as an attribute on Response - Expand the certutils.SSLCert interface to expose more cert info
* Refactor pretty view mechanism.Aldo Cortesi2012-03-241-0/+6
| | | | Also start adding unit tests for this subsystem.
* Add error indications to GridEditor.Aldo Cortesi2012-03-231-0/+4
|
* Generalize GridEditor to N columns.Aldo Cortesi2012-03-181-0/+9
| | | | Start adding a replacement rule editor.
* Hooks -> ReplaceHooksAldo Cortesi2012-03-171-17/+19
| | | | | It makes more sense to specialize this, which will let me build a nicer interface for replacement hooks in mitmproxy.
* Add a hooks mechanism, based on filter expressions.Aldo Cortesi2012-03-161-1/+46
|
* replace() methods now decode and re-encode contents before substitution.Aldo Cortesi2012-03-161-9/+23
|
* Add a decoded context manager.Aldo Cortesi2012-03-161-0/+28
| | | | | | | | | This simplifies a common chore when modifying traffic - decoding the object, modifying it, then re-encoding it with the same encoding afterwards. You can now simply say: with flow.decoded(request): request.content = "bar"
* Set a "unique" serial number for each generated cert.Aldo Cortesi2012-03-141-2/+2
|
* Adds no-pop option to server-side replayValtteri Virtanen2012-03-051-5/+10
|
* Unit test++.Aldo Cortesi2012-02-251-5/+2
|
* Fix detection of URL-encoded forms.Aldo Cortesi2012-02-241-2/+16
| | | | Thanks to Paul Capestany <capestany@gmail.com> for reporting this.
* Refactor filter matching.Aldo Cortesi2012-02-231-10/+2
|
* License notifications, minor docs.Aldo Cortesi2012-02-231-1/+16
|
* Documentation and screenshots.Aldo Cortesi2012-02-221-4/+18
|
* Always return an ODict from get_queryAldo Cortesi2012-02-211-5/+5
|
* Create ODictCaseless for headers, use vanilla ODict for everything else.Aldo Cortesi2012-02-201-7/+21
|
* Use ODict for request.get_form_urlencoded and set_form_urlencodedAldo Cortesi2012-02-201-14/+13
|
* Use ODict for Request.get_query and Request.set_queryAldo Cortesi2012-02-201-2/+5
|
* Rename Headers class to ODictAldo Cortesi2012-02-201-45/+19
| | | | | ODict is an ordered dictionary class that will be useful in many other parts of our API.
* Minor doc fixes and import cleanups.Aldo Cortesi2012-02-201-1/+1
|
* Add duplicate_flow and replay_request hooks to ScriptContext.Aldo Cortesi2012-02-191-3/+28
|
* Add "p" key binding to connection list view to copy a flow.Aldo Cortesi2012-02-191-0/+8
|
* Add API for duplicating flows.Aldo Cortesi2012-02-181-6/+23
|
* Firm up reverse proxy specification.Aldo Cortesi2012-02-181-9/+2
| | | | | | - 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/+1
| | | | | | | - 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.
* Fix a problem in deserialization of flows with errors.Aldo Cortesi2012-02-181-3/+3
|
* Make filter matching act more sensibly.Aldo Cortesi2012-02-101-6/+8
|
* Add filter for detecting flows with errors.Aldo Cortesi2012-02-101-6/+2
| | | | Also, remove dependency on weird _is_response method.
* Expand test coverage.Aldo Cortesi2012-02-101-12/+6
|
* Enable editing of urlencoded form data with KVEditor.Aldo Cortesi2012-02-101-2/+2
|
* Methods for getting and setting form urlencoded data on Request.Aldo Cortesi2012-02-101-0/+23
|
* Add get_query and set_query methods to Request.Aldo Cortesi2012-02-091-1/+20
|
* Very basic KV editor mockup.Aldo Cortesi2012-02-061-4/+1
|
* Simple fix for a unicode error when editing a request URL.Aldo Cortesi2011-10-261-10/+10
|
* Change size limit cmdline flag to -Z, enable size limits for replay.Aldo Cortesi2011-09-091-1/+5
|
* Add HTTP body size limit specification to command-line tools.Aldo Cortesi2011-09-091-1/+1
|
* Fix a rare crash in sticky cookies.Aldo Cortesi2011-08-261-1/+2
|
* Fix a problem with sticky cookie domain matching.Aldo Cortesi2011-08-261-5/+13
| | | | | Just like everything else cookie-related in the standard library, cookielib.domain_match is fucked up.
* Add attribution and license for tnetstring.pyAldo Cortesi2011-08-191-4/+4
|
* Move to typed netstrings for serialization.Aldo Cortesi2011-08-191-13/+15
| | | | This change is backwards incompatible with the old serialization format!
* Replaced unnecessary lists with generatorsAndrás Veres-Szentkirályi2011-08-181-3/+3
|
* Add a "done" event for scripts.Aldo Cortesi2011-08-051-11/+22
| | | | Called exactly once after all other events.
* Rip out autodecodeAldo Cortesi2011-08-041-1/+0
| | | | | | | | We simplify things as follows: - If we're in "pretty" view mode, we autodecode. - Otherwise, we display raw data, and the user can manually encode/decode with z shortcut.
* Code cleanliness - appease pychecker.Aldo Cortesi2011-08-041-1/+1
|
* Move script.Context to flow.ScriptContextAldo Cortesi2011-08-041-2/+16
|
* Clean pydoc profile for flow.FlowAldo Cortesi2011-08-041-12/+44
|