You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Django in WSGI mode, but a third-party service sends callbacks with Transfer-Encoding: chunked header, with request body starting with chunk size:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Running Django in WSGI mode, but a third-party service sends callbacks with Transfer-Encoding: chunked header, with request body starting with chunk size:
`POST /api/services/callback/ HTTP/1.1
Host: eXX4-1XX-129-XX-104.ngrok-free.app
User-Agent: Apache-HttpClient/5.3.1 (Java/21.0.5)
Transfer-Encoding: chunked
Accept: application/json
Accept-Encoding: gzip, x-gzip, deflate
Content-Type: application/json
X-Forwarded-For: XX.XX.XX.XX
X-Forwarded-Host: eXX4-1XX-129-XX-104.ngrok-free.app
X-Forwarded-Proto: https
272
{"paymentReference":"XXX", "errorCode":null}
0
`
Is there a way to convert it into a buffered request, with clean body without 272 starting and 0 closing lines?
Beta Was this translation helpful? Give feedback.
All reactions