10BC0 The time-consuming issue of assigning values to flow.response.content · mitmproxy mitmproxy · Discussion #8040 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

You would need to provide more context. This would be expected if the content-encoding is gzip or some other compression, because compression is a lot slower than decompression by design.

(.content will transparently decode/encode .raw_content depending on the content-encoding header)

Depending on what you're doing (if the client will accept uncompressed data) it could be faster to strip the header and set the raw bytes.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
10BC0
@Prinzhorn
Comment options

@Karmylr
Comment options

@Prinzhorn
Comment options

@Karmylr
Comment options

@Prinzhorn
Comment options

Answer selected by Karmylr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0