Cannot correctly set content length after modify the request content #3303
Unanswered
qiangxinglin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need an interceptor to implement the req/rep encryption. For the decrypt part, I've managed it worked, but encryption still struggling.
All the requests and responses are in JSON format, but maybe with
data
field encryted (depending on the header).If I modify the content of the request in this transport, the system would throw
LocalProtocolError: Too little data for declared Content-Length
, how to deal with it?Beta Was this translation helpful? Give feedback.
All reactions