cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Binary HTTP Response Head crashes library

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 23 Feb 2012 12:51:05 +0100 (CET)

On Thu, 23 Feb 2012, Michael Wood wrote:

> Is it valid to get any sort of body in response to a HEAD request?

Ah, good point. Quoted from RFC2616:

  9.4 HEAD

  The HEAD method is identical to GET except that the server MUST NOT return a
  message-body in the response.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-23