I am writing a http client that sends files to a server. When I send a
request from the client to the server that is greater than 2048 bytes
the header Transfer-Encoding: chunked is added and the Content-Length
header is removed. The server is unable to respond when this happens.
Is there a way of not making this header be set? I am not using flush()
and I am using close() to close the output stream once the data is
written. I have also tried the header Connection: close but the client
still sent the Transfer-Encoding: chunked header.
Is it possible to set the client to use HTTP 1.0?
To unsubscribe, send email to email@example.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
firstname.lastname@example.org and include in the body of the message "help".