Unlike HTTP 1.0, HTTP 1.1 defaults to Keep-Alive - connections have to be explicitly closed.
On 31/01/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Roland, > > thanks for your answer! > > well, I know that HttpClient always tries to keep connections alive but I > did not see any keep-alive header in the wire trace. > Also, > http://jakarta.apache.org/commons/httpclient/performance.html#Connection%20p > ersistence does not say, that a keep-alive header is sent by HttpClient. In > the source code of HttpClient I can only see that HttpClient checks for > keep-alive headers (in request and response), but I do not see, that > HttpClient sends anyone. > > So, because my customer asks for a keep-alive header, I wonder if I have to > send it by myself or if HttpClient sends one or if I can say to my customer: > "We are using http 1.1, so it's not neccessary to send a keep-alive header!" > ? > > Can you help ? > > Cheers, Klaus. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
