Hi all,
currently i'm facing the problem with my own SabreDav Server to provide access to files where the path decides where the file is hosted
e.g. a bunch of users is hosted on Server1, the others are hosted on Server2
or data files for physical experiments are stored by creation date on different servers
so intuitively this sound like a case for plain simple http-redirect
my first test was to just cause a 302 redirect and setting the location where the client should access the file - both servers using my SabreDAV implementation
and more or less just test if the requested file is locally available
well, it doesnt really work on my ubuntu 13.10 gvfs client - it seems it just doesnt know how to handle the response, so i get an invalid response error and the client aborts
googling for this topic doesnt really reveal the solution for this, but only RF4437 which i'm not sure i understand what its all about
so my questions here are not specific to my exact problem but to the general idea of how WebDAV is supposed handle redirects
Questions:
HTTP redirect:
Is a 301/302/... HTTP Redirect allowed or are most clients able to handle this on methods NOT (POST or PUT)?
Or on which methods are most clients able to handle HTTP redirects? anyone has experience on this?
Shall there be any content body on a HTTP redirect?
Which clients are known to handle such redirects? open source would be interesting so i could investigate my implementation better
Regarding RFC4437:
I'm not sure if i get the purpose of the RFC right, but is it meant to have somthing like symbolic links (MKREDIRECTREF) on (remote) servers?
And if a resource is queried which resides somewhere else a DAV response (some kind of HTML/XML) shall be returned - so no HTTP Redirect, right?
Which clients are known to handle such redirects? open source would be great
Regarding SabreDAV:
Is there any out of the box version (current) 1.8.9 which has support for redirects? maybe i miss something here.
Why/Has the redirect plugin been droped?
And what would be the options to get redirect support on clients for arbitrary file/directory resources located anywhere?
thx for your help
N