How to copy the response to the clipboard?
See original GitHub issueIn v2 of mitmproxy, I was able to use key binding C
to copy the response body into my clipboard. This option does not seem to exist anymore in v4. What was it replaced with?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How to Copy Text to the Clipboard with JavaScript
To copy text with the new Clipboard API, you will use the asynchronous writeText() method. This method accepts only one parameter - the...
Read more >How to Copy to Clipboard in JavaScript with the Clipboard API
Let's start out with copying the text onto the clipboard. We've briefly seen this in the first example, and it doesn't really get...
Read more >Copy response.text() from fetch api in Chrome DevTools to the ...
You need to get response text and then copy it to the clipboard using another function: fetch('/readme.txt').then( response ...
Read more >Using the Clipboard - Win32 apps | Microsoft Learn
This copy is used to render data on request. // It is freed in response to the WM_DESTROYCLIPBOARD // message.
Read more >Chrome DevTools: Copy a network response into your clipboard
How to use this feature · Make a Network Panel recording · Right click on a resource · Select Copy > Copy response....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gajus It was replaced with
cut.clip
command. This command is bound toctrl L
(lowercase L). It is universal - you can copy any part of a flow. But it isn’t well-documented for some reasons. This is the full list of flow parts you can copy into your clipboard -> https://github.com/mitmproxy/mitmproxy/blob/master/mitmproxy/types.py#L243-L277So, the plan for your case is:
Ctrl l
.cut.clip @focus response.raw_content
->Enter
.We had many users’ reports about inconvinience of this approach. So, maybe it will be replaced in v5.0.
By the way, mitmproxy has very nice forum exactly for such questions 😉 So, it is recommended to ask there not development-related questions.
Best wishes.
I am trying to use mitmproxy for importing flowreader in python 3 (Ubuntu). I am getting ImportError: cannot import name ‘flowreader’ by executing the following lines of code.
from mitmproxy.flow import FlowReader
I tried to install flow reader by “pip3 install FlowReader” but that failed. After searching I haven’t got any clue on this issue. Please guide what can I do to solve it?