DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27942>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27942 Missing setFollowRedirects(true) Summary: Missing setFollowRedirects(true) Product: Slide Version: 2.0 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: WebDAV client AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I had problems when adressing folders without trailing slash. Apache 2.0.40 (as server with mod_dav) returns 301 for accessing "/folder" instead of "/folder/". However, the webdav client lib did not call setFollowRedirect(true) on the HttpMethodBase. The real trouble is that while getting the childResources, the new URLs are build by appending the displayName to the base name, but without adding a trailing slash. (See WebdavResource.setWebdavProperties(Enumeration responses).) A workable solution for me was to put a setFollowRedirects(true) in all XMLResponseMethodBase constructors. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
