Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-432

[HTTP][WebDAV] Allow HTTP follow redirect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Labels:
      None
    • Environment:

      Description

      Allow VFS HTTP file objects to use HTTP's follow redirect feature. Because the VFS WebDAV implementation subclasses HTTP classes, VFS WebDAV also gets this feature.

      For example:

      final boolean followRedirect = true;
      final FileSystemOptions opts = new FileSystemOptions();
      HttpFileSystemConfigBuilder.getInstance().setFollowRedirect(opts, followRedirect);
      final FileObject file = VFS.getManager().resolveFile(uri, opts);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ggregory Gary D. Gregory
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: