bugdavfs2 - Bugs: bug #35428, Implement temporary Redirect for...


bug #35428: Implement temporary Redirect for GET

Submitter:  - <_71007>
Submitted:  Wed 01 Feb 2012 03:10:43 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  _71007
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Fri 16 Sep 2016 09:36:16 AM UTC, comment #4: 

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


- <_71007>
Thu 15 Sep 2016 04:42:10 AM UTC, comment #3: 

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.

Shane Walters <yfisaqt>
Sun 23 Mar 2014 05:41:12 PM UTC, comment #2: 

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.


- <_71007>
Fri 29 Jun 2012 09:30:26 PM UTC, comment #1: 

maybe it's a starting point to look at
libzapojit the library GnomeDocuments uses for skyrive access?

Wed 01 Feb 2012 03:10:43 PM UTC, original submission:  

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

- <_71007>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by yfisaqt (Posted a comment)
  • -email is unavailable- added by larsv
  • -email is unavailable- added by _71007 (Submitted the item)

    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.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-25 _71007 Open/ClosedOpen Closed
    2018-11-05 _71007 StatusReady For Test Fixed
    2014-03-23 _71007 StatusPostponed Ready For Test
    2012-05-29 larsv Carbon-Copy- Added larsv

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code