Mobile app version of vmapp.org
Login or Join
Kristi941

: What is HTTP Method PROPFIND used for? I notice a series lines never seen before on my server access log that runs like this consecutively within the same one second: PROPFIND /images/flag.jpg

@Kristi941

Posted in: #Http

I notice a series lines never seen before on my server access log that runs like this consecutively within the same one second:

PROPFIND /images/flag.jpg HTTP/1.1 405 493 265 511 - LibreOffice
HEAD /images/flag.jpg HTTP/1.1 200 164 - 229 - LibreOffice
GET /images/flag.jpg HTTP/1.1 200 186 338166 338395 - LibreOffice


It appears that copying images from the website to a LibreOffice document will cause these queries to be triggered. I found PROPFIND being mentioned on a Microsoft website, but still do not understand its usage and why not just use a single GET instead?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kristi941

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

From Wikipedia:

Web Distributed Authoring and Versioning (WebDAV) is an extension of the Hypertext Transfer Protocol (HTTP) that facilitates collaboration between users in editing and managing documents and files stored on World Wide Web servers.

PROPFIND — used to retrieve properties, stored as XML, from a web resource. It is also overloaded to allow one to retrieve the collection structure (a.k.a. directory hierarchy) of a remote system.



GET actually retrieves the resource. HEAD is similar to GET except that the message body is not returned. That is, it gets the file header information and not the entire resource.

It appears that PROPFIND differs from HEAD in that properties data stored as XML is returned in the message body (of the packet) rather than attempting to return the entire resource. OpenOffice and Libre documents contain XML as compared to the proprietary format that Microsoft and others use.

It is likely that using Libre with images linked from your website, may be triggering this.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme