[Owncloud] HEAD request to ownCloud WebDAV
Klaas Freitag
freitag at owncloud.com
Sat Aug 18 05:24:22 UTC 2012
On 17.08.2012 19:12, Michael Göhler wrote:
> Am 17.08.2012 um 15:20 schrieb Klaas Freitag <freitag at owncloud.com>:
>
>> < Content-Length: 152719
>> < Last-Modified: Fri, 17 Aug 2012 10:36:56 GMT
>> < ETag: "502e1ed93956c7.61867411"
>> < Content-Type: image/jpeg
>> <
>> * transfer closed with 152719 bytes remaining to read
>> * Closing connection #0
>> curl: (18) transfer closed with 152719 bytes remaining to read
>>
>> mind the last line - 152719 bytes remaining to read. I thought HEAD requests were about not getting any body - why do we seem to have a body here? Or is something wrong with my request? But also note: Nice ETag header in there, thats what I need.
>
> Hi Klaas,
>
> I think this is related to curl. Maybe the -I / --head option gives better output than -X 'HEAD'.
You're right, thanks - works with -I. My fault.
regards,
Klaas
More information about the Owncloud
mailing list