HttpUrlConnection + Keep-alive
0 posts in topic
Flat View  Flat View

Posted By:   mahesh_bhat
Posted On:   Thursday, December 20, 2001 03:35 PM


I am using jdk1.1.7 to connect to an apache server using the HttpUrlConnection class - the problem I have is HttpUrlconnection sends a HTTP/1.0 request with a Connection:Keep-Alive header - Now the Apache server responds with a HTTP/1.1 response and tries to keep the connection open unsuccessfully - I would like to prevent sending the Connection:Keep-Alive header , can someone tell me how to do it ?

Thanks a lot

About | Sitemap | Contact