@ -229,11 +229,13 @@ The following commands can be used to view requests and responses
| `vhs <id(s)>` | view_response_headers, vhs | [V]iew [H]eaders of a Re[S]ponse. Prints just the headers of a response associated with a request. |
| `vhs <id(s)>` | view_response_headers, vhs | [V]iew [H]eaders of a Re[S]ponse. Prints just the headers of a response associated with a request. |
| `vbs <id(s)>` | view_response_bytes, vbs | [V]iew [B]ytes of Re[S]ponse, prints the full response including headers and data without coloring or additional newlines. Use this if you want to write a response to a file. |
| `vbs <id(s)>` | view_response_bytes, vbs | [V]iew [B]ytes of Re[S]ponse, prints the full response including headers and data without coloring or additional newlines. Use this if you want to write a response to a file. |
| `pps <id(s)> [format]` | pretty_print_response, pps | Pretty print a response. If a format is given, it will try and print the body of the response with that format. Otherwise it will make a guess based off of the Content-Type header. |
| `pps <id(s)> [format]` | pretty_print_response, pps | Pretty print a response. If a format is given, it will try and print the body of the response with that format. Otherwise it will make a guess based off of the Content-Type header. |
| `watch` | watch | Print requests and responses in real time as they pass through the proxy. |
Available formats for `ppq` and `pps` commands:
Available formats for `ppq` and `pps` commands:
| Format | Description |
| Format | Description |
|:-------|:------------|
|:-------|:------------|
| `form` | Print POST data submitted from a form (normal post data) |
| `json` | Print as JSON |
| `json` | Print as JSON |
The table shown by `ls` will have the following columns:
The table shown by `ls` will have the following columns:
@ -952,6 +954,11 @@ Changelog
---------
---------
The boring part of the readme
The boring part of the readme
* 0.2.6
* Fix pip being dumb
* `watch` command to watch requests/responses in real time
* Added `pp[qs] form <id>` to print POST data
* Bugfixes
* 0.2.5
* 0.2.5
* Requests sent with repeater now are given `repeater` tag
* Requests sent with repeater now are given `repeater` tag