[Owncloud] HEAD request to ownCloud WebDAV

Michael Göhler somebody.here at gmx.de
Fri Aug 17 16:12:11 UTC 2012


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'.

Regards,
Michael



More information about the Owncloud mailing list