cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Response head is not retrievable

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 3 Apr 2008 12:51:12 +0200 (CEST)

On Thu, 3 Apr 2008, Nikolai Kondrashov wrote:

> It seems that response head cannot be retrieved if custom function is used
> to retrieve the body. At least with 7.18.0. Assigning a custom head
> retrieval function doesn't help.

I suspect you mean "headers" and not "head". HEAD is a method in HTTP while
response-headers is the headers that comes in the server response.

> We cannot use HEAD method, because we need a POST response head, but don't
> need the body.

But when I try the sepheaders.c example right here and now, it works just as
expected... ?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-04-03