Hi,
I'm using the HttpClient to POST a request to the server with the Content-Length set to CONTENT_LENGTH_CHUNKED. It works fine with pre-emptive BASIC authentication but fails with an "Unbuffered entity enclosing request can not be repeated" with anything else. Tracing the request it seems that the HttpClient attempts to read the request body twice - at a guess before the authentication challenge and then again when authenticated. The workaround I have for now is to 'ignore' the first request (actually send an empty body) and then send the real data through on the second writeRequestBody() call. This seems more than a bit flaky - does anybody have a better solution ? Regards Tony Seebregts