cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: header only response [PATCH]

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 5 Apr 2002 16:52:35 +0200 (MET DST)

On Fri, 5 Apr 2002, Jacky Lam wrote:

> > > "HTTP 304 Not Modified\r\n\r\n".
> > > Just one line finished response. Do you have any idea?
> >
> > Is that a 1.0 or 1.1 reply when you see this? What happens with the
> > connection, is it still alive?

> The reply is 1.0 and I have explicitly included "keep-alive" in the
> request header.

I'm sorry, but I can't see how I can repeat/produce this problem to see what
happens.

If the connection actually is kept alive, then I'd say that this is a problem
in the server end. libcurl can't possible know when the response ends if kept
alive with no content-length, no close and no chunked transfer is used...

Or have I missed something?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-05