Add a New Comment (Rich Markup)
Redirect for GET-requests is implemented in davfs2 since version 1.5.0. To enable it you have to set option "follow_redirect 1" in your davfs2.conf file. Please note: Redirects are used for diffenrent purposes. davfs2 only supports redirect for GET-requests. If you try to fetch a resource with GET the server may redirect you to a different URL where you can fetch that resource. This is supported by davfs2. Redirects are also used to redirect you to an authentication server. This is not supported by davfs2 because this would additionally require to implemt all the different federated authentication methods which are usually badly documented. When the redirect happens while you try to mount then it is probably used for authentication. (davfs2 only sends GET-requests after the file system is mounted successfully.) Werner
I can reliably reproduce the 302 Found when attempting to mount a WebDAV URL. Since this is marked as ready to test, I would like to do so. If you send me the prerelease package, I will test it.
There is now experimental support for temporary redirects in the CVS sources, branch rel-1-4-6. It would be important to test it with real world servers (I have no access to a real world server that uses redirects). If you are willing to test this feature I will gladely send you a prerelease source package. If you want to build from the CVS sources, please be sure to select branch rel-1-4-6. You will also need additional build tools (please see file INSTALL) in this case. Werner
maybe it's a starting point to look at libzapojit the library GnomeDocuments uses for skyrive access?
Some servers that serve huge amounts of data distribute them an many hosts. GET requests will be redirected to an appropriate host. davfs2 should handle these redirects (302 and 307) for GET and HEAD. Redirecting anything else than GET and HEAD would be problematic because the specs require user interaction for this and because it is not clear whether any server could handle this. See also: https://savannah.nongnu.org/support/?107402
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11