Repository navigation
mitmweb: handle {en,de}coding on server-side - #4811
Merged
mhils merged 2 commits intoSep 23, 2021
Merged
Conversation
Handle this server-side rather than passing the message content encoding
details back when fetching flow content. If {en,de}coding fails, return
the raw request contents.
This addresses mitmproxy#4809
Member
|
Excellent, thanks! 😃 |
mhils
enabled auto-merge (squash)
September 22, 2021 12:10
auto-merge was automatically disabled
September 22, 2021 20:48
Head branch was pushed to by a user without write access
matthewhughes934
force-pushed
the
mitmweb-handle-encoding-on-server
branch
from
September 22, 2021 20:48
d4ba33c to
4e29512
Compare
Contributor
Author
|
I force pushed the latest commit, unchanged, just to reboot the CI (one of the jobs got stuck waiting to start) |
mhils
enabled auto-merge (squash)
September 22, 2021 20:50
Contributor
Author
|
Ah, it might be a good thing this got stuck. I'm seeing a crashing when playing around with the example in the ticket after editing a response:
I'll have a deeper look this evening |
mhils
disabled auto-merge
September 23, 2021 13:54
Member
|
That should be unrelated to this PR here, so I'll pull the tigger. :) If you have examples with both transfer-encoding and content-length header I'm all ears though. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Handle this server-side rather than passing the message content encoding
details back when fetching flow content. If {en,de}coding fails, return
the raw request contents.
This addresses #4809
Checklist