add keyboard shortcut n to mitmweb (by using runCommand inside the kb shortcut handler)#5061
Conversation
e451862 to
bc13197
Compare
|
Last failing check is an unreachable URL validation; currently the /create endpoint doesn't have any way to specify a URL (example.com is hardcoded, and then users edit the desired URL in the web UI). I'll probably add a way for POST /flows/create to take a URL and then write a test, when I touch this next. |
|
👍 on adding this, thanks for the PR! 😃 We could potentially remove a lot of boilerplate by just using (also feel free to ask stupid questions here or on Slack. Based on your PR I'm assuming quite a bit of familiarity with everything already, happy to explain stuff in more detail :)) |
4a91b30 to
32a16de
Compare
32a16de to
8c989d8
Compare
|
All zipped up and rebased. Should be good to go! Please merge at your convenience if everything looks okay. |
|
This looks super straightforward, excellent! 🎉 |
Description
Following the behavior of mitmproxy, this adds an

nkeybind to mitmweb, which creates a new flow in the FlowView:Which can then be clicked, edited, and
r'd to be sent.Checklist