W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2003

how to close a HTTP/1.1 connection ?

From: <vion@iie.cnam.fr>
Date: Mon, 30 Jun 2003 07:39:57 -0400 (EDT)
To: ietf-http-wg@w3.org
Message-Id: <20030630093358.96843D4C@ulysse.iie.cnam.fr>




I am currently writing an application using HTTP/1.1 protocol to send a file to a HTTP server via the HTTP PUT request.

I know that there is a general-header item "connection" that could be used with the value "close" to notify that the client wants to close the connection after the request.

My problem is that if the server returns a 401 response ( or the proxy a 407 response) I don't want the connection to be closed before I anthenticate to it.

So I have decided not to include the connection header item before my job is finished and I would like to know what kind of request I could send to the server with the "connection: close" item.

Bertrand VION
Received on Monday, 30 June 2003 08:07:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:23 GMT