Is there a way to force a ktor client used in the context of WASM to NOT pass a Content-Length header?
I have a backend endpoint that doesn't need to consume the full contents of a file upload. It conditionally determines when processing is complete and then returns a response. Since updating to ktor 3.x the server will return a timeout error after I have returned a response by calling
call.respond
since the full request byte stream hasn't been consumed. This causes the browser to retry the original request.