Re: "Transfer-Encoding: chunked" added to http request header automatically
Posted By:
Eddy_Chang
Posted On:
Thursday, September 27, 2001 07:45 PM
you don't execute the flush(),so "Transfer-Encoding: chunked" wouldn't be added into the http header.
The data will be flushed automatically,when the openinputstream() is called.
Remember to add the Content-type= application/x-www-form-urlencoded into the http header.Otehrwise the server doesn't know it is a POST http request