Hello,
I’m encountering an issue when making POST requests to my RemObjects SDK-based API while using Wiretap as a proxy between my client and the API server. The server responds with the following error:
500 Bad Request: Chunked encoding not supported
Setup Details:
- Backend: RemObjects SDK (Oxygene)
- Client: HTTPie / VS Code REST Client / Curl
- Proxy: Wiretap (pb33f.io: wiretap: the world's sexiest API diagnostics tool.)
Observations:
- When making a direct POST request to the API server (bypassing Wiretap), everything works as expected.
- When making the same request through Wiretap, the server returns 500 Bad Request: Chunked Encoding Not Supported.
- GET requests work fine—only POST requests are affected.
- Looking at the RemObjects SDK source, I noticed the function
Validate()
performs a check related to"Transfer-Encoding: chunked"
.
Request for Help
- Is there a way to force RemObjects SDK to accept chunked encoding, or is there a workaround to bypass this issue?
- Could this behavior be configurable in RemObjects SDK?
I appreciate any guidance on this issue!
Thanks in advance.