Re: Different response content-type when including -I
Date: Wed, 8 Jan 2020 16:49:50 +0100
On Wed, Jan 08, 2020 at 04:08:43PM +0100, Toon Claes via curl-users wrote:
> So I'd like to understand why when including `-I` I'm getting
> 'content-type: image/png', even while 'accept: */*' is in the request?
That's a question to ask the administrator of the server. The HTTP spec says
"The server SHOULD send the same header fields in response to a HEAD request as
it would have sent if the request had been a GET..." so it's doing something
weird, if not technically illegal.