aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Correctly detect urlencoded dataAldo Cortesi2011-07-171-1/+1
| | | | This broke when we introduced case preservation for headers.
* Make help display for options nicer.Aldo Cortesi2011-07-171-21/+59
|
* Expose the anticompression flag as an option through the "o" key in mitmproxy.Aldo Cortesi2011-07-171-0/+6
|
* Refine encoding supportAldo Cortesi2011-07-171-2/+6
| | | | | - Push decoding down into the LRU cache - Cope gracefully with corrupted data and incorrect encoding headers
* Adds support for content encoding, namely gip and deflatealts2011-07-161-15/+25
|
* Add a pretty-printing mode for urlencoded form data.Aldo Cortesi2011-07-151-1/+16
|
* Introduce an anti-compression command-line argument.Aldo Cortesi2011-07-151-0/+2
| | | | | This is on by default, which means we avoid compressed content unless the -z flag is specified.
* Don't sort headers when displaying them in mitmproxy.Aldo Cortesi2011-07-141-1/+1
|
* Refine path completion somewhat.Aldo Cortesi2011-07-141-4/+0
| | | | Make it match the behaviour of vim and mutt more closely
* Rewrite Headers object to preserve order and case.Aldo Cortesi2011-07-141-3/+7
|
* Bail out if no command was specified after | shortcut.Aldo Cortesi2011-07-081-1/+2
|
* Show view mode in statusbar.Aldo Cortesi2011-06-301-24/+33
| | | | Also make "m" keyboard shortcut available globally.
* Fix edit prompt display, return code editing.Aldo Cortesi2011-06-301-3/+6
|
* JSON pretty-printing.Aldo Cortesi2011-06-301-25/+45
| | | | | Also rename the display modes ("pretty" instead of "indent"), and expand the built-in documentation.
* Try not to hang when user views large request & response bodiesAldo Cortesi2011-06-271-4/+27
| | | | | | | | | | Two different strategies here: - Use a simple heuristic to detect if we're looking at XML data when indent mode is used. On non-XML data we can hang even on small documents. - Only view partial data for large bodies. At the moment the cutoff is 100k. I might finetune this later.
* Don't redraw the screen more often than necessary.Aldo Cortesi2011-06-271-3/+7
|
* Fix urwid version parsing error when it's something like 0.9.10-preYuangxuan Wang2011-06-201-1/+1
|
* Add -r option to mitmdump and mitmproxy.Aldo Cortesi2011-05-151-0/+5
| | | | | | This option reads a set of flows from a file. I've also regularized the mitmdump and mitmproxy command-line signatures by removing mitmproxy's old way of specifying flow loads through naked arguments.
* Add a new flow loading mechanism.Aldo Cortesi2011-05-151-3/+2
| | | | | We now simulate the normal connection flow when we load flows. That means that we can run scripts, hooks, sticky cookies, etc.
* Minor code cleanup - no need to recreate the master queue.Aldo Cortesi2011-05-141-2/+1
|
* Add a -n option which tells the tools not to bind a proxy.Aldo Cortesi2011-05-141-6/+11
| | | | This is useful when you just want to inspect or process dumps.
* Refactoring.Aldo Cortesi2011-03-291-5/+5
|
* Add some debugging output to help troubleshoot a performance problem.Aldo Cortesi2011-03-271-0/+10
|
* Add a stickyauth option.Aldo Cortesi2011-03-201-2/+17
| | | | | | | This allows us to replay an HTTP Authorization header, in the same way as we replay cookies using stickycookies. This lets us conveniently get at HTTP Basic Auth protected resources through the proxy, but is not enough to do the same for HTTP Digest auth. We'll put that on the todo list.
* Reverse order of flows in mitmproxy.Aldo Cortesi2011-03-201-2/+0
| | | | It matches user expectations much better to have new flows appended to the bottom.
* Enable request and response script commandline arguments for mitmproxy.Aldo Cortesi2011-03-181-14/+22
|
* Maintain focus in mitmproxy when flows are loaded from file.Aldo Cortesi2011-03-181-4/+7
|
* Do id-based comparison rather than value-based comparison to establish flow ↵Aldo Cortesi2011-03-181-1/+2
| | | | | | focus. This fixes a bug where focus would jump unpredictably between identical flows.
* Use path_prompt rather than plain prompt where needed in mitmproxy.Aldo Cortesi2011-03-181-4/+4
|
* Server replay shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-181-5/+19
| | | | replay.
* Client playback shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-181-5/+20
| | | | client playback.
* Interrupt interception when deleting an intercepting flow.Aldo Cortesi2011-03-151-10/+3
| | | | Prompting the user for this is annoying.
* Fix minor styling and glitches.Aldo Cortesi2011-03-151-5/+5
|
* Fix hang on shutdown.Aldo Cortesi2011-03-151-1/+1
|
* Do pre-processing of requests before replay.Aldo Cortesi2011-03-151-2/+2
| | | | | This enables scripts, anticache, server playback and sticky cookies for request replays.
* Improve responsiveness of request and response viewing.Aldo Cortesi2011-03-151-56/+62
| | | | | | | | - Computing the view of a large body is expensive, so we introduce an LRU cache to hold the latest 20 results. - Use ListView more correctly, passing it individual urwid.Text snippets, rather than a single large one. This hugely improves render time.
* Use .stop() and .start() to restart curses around external spawns.Aldo Cortesi2011-03-141-10/+5
|
* Merge branch 'master' of github.com:cortesi/mitmproxyAldo Cortesi2011-03-141-1/+1
|\
| * Fix traceback when viewing hex mode.Aldo Cortesi2011-03-141-1/+1
| |
* | Use raw_display instead of curses_display.Aldo Cortesi2011-03-141-3/+3
|/
* Indicate request and response replay status separately.Aldo Cortesi2011-03-131-4/+4
|
* Fix a number of small UI infelicities.Aldo Cortesi2011-03-131-16/+14
| | | | | | | - Make request/response view switching behave sensibly - Avoid having an empty string appear in connection view text. This makes urwid misbehave. - Make it clear that intercept and cookies specifications are filters.
* Fix a traceback sometimes triggered viewing a connection with no response.Aldo Cortesi2011-03-131-25/+27
|
* Add server replay to mitmproxy.Aldo Cortesi2011-03-131-2/+45
|
* Add client plaback to mitmproxy.Aldo Cortesi2011-03-131-2/+34
|
* Add anticache support for mitmproxyAldo Cortesi2011-03-131-2/+31
| | | | | Also stub out an option toggle command for anticache, killextra and norefresh options.
* Rejigger status bar somewhat. Add indicators for various bits of state.Aldo Cortesi2011-03-131-23/+50
| | | | | In particular, we now display limits, sticky cookie expressions and intercepts in the bar.
* Fix stickycookie setting, indented view traceback.Aldo Cortesi2011-03-131-1/+5
|
* Remove beep functionality from mitmproxy.Aldo Cortesi2011-03-131-21/+0
| | | | This acts funny (sometimes works, sometimes doesn't) and isn't really useful.
* mitmproxy prompted input now display previously set value.Aldo Cortesi2011-03-131-24/+36
| | | | | E.g. if you set a limit, then re-enter the limit prompt, you start with the currently set value.