Transfer-Encoding: chunked

Ian Strain <[email protected]>
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
Hi everyone,

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?

Thanks
Ian

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.