Skip to content

[ModifyChunkResponsePlugin] Generates invalid Content-Length and connection error #1043

Answered by abhinavsingh
Telemattic asked this question in Q&A
Discussion options

You must be logged in to vote

I grabbed 2.4.0rc7 (I grabbed an enlistment from github and did a checkout of the commit with the 2.4.0rc7 tag) and the issue still repros there, the content-length remains 255 in the response with the modified body.

Remember this is a chunk response plugin, why are even seeing a Content-Length header at all? Are you trying to access a non-chunked-response resource here? Further, we do have integration tests from Python 3.6-3.10 across all major OS. So, I am surprised this is broken for you. How are integration tests working then?

Below is my findings:

  1. make ca-certificates

  2. python -m proxy --port 9000 --plugins proxy.plugin.CacheResponsesPlugin,proxy.plugin.ModifyChunkResponsePlugin …

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by abhinavsingh
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Question Questions related to proxy server v2.3.x Issues affecting stable releases on PyPi
2 participants
Converted from issue

This discussion was converted from issue #1039 on January 22, 2022 20:01.