Response body is empty #1422
Unanswered
mattias-wi
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@mattias-wi I don't believe |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the plugin below, I'm trying to add a header to the response. But after response.parse returns the buffer seems to be empty. Done some logging in the parse method and just before 'more' becomes False, there is response body data in 'raw'. But not after parse returns.
It works for HTTP GET but not for POST.
Am I missing something or doing something wrong?
This line seems to makes prevent self.state to get chunkParserStates.COMPLETE and therefore the _process_body method will never assign self.body.
proxy.py/proxy/http/parser/chunk.py
Line 66 in a7077cf
Beta Was this translation helpful? Give feedback.
All reactions