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

 
 

bug #35428: Implement temporary Redirect for GET

Submitted by:  Werner Baumann <wbaumann>
Submitted on:  Wed 01 Feb 2012 03:10:43 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Ready For Test
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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.

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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?

Anonymous
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

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 23 Mar 2014 05:41:12 PM UTCwbaumannStatusPostponed=>Ready For Test
    Tue 29 May 2012 09:26:45 AM UTClarsvCarbon-Copy-=>Added larsv

    Back to the top


    Powered by Savane 3.1-cleanup