Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 187B29ED3 for ; Mon, 23 Jul 2012 03:29:39 +0000 (UTC) Received: (qmail 76092 invoked by uid 500); 23 Jul 2012 03:29:38 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 75864 invoked by uid 500); 23 Jul 2012 03:29:36 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 75820 invoked by uid 99); 23 Jul 2012 03:29:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2012 03:29:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E4A4D1404B4 for ; Mon, 23 Jul 2012 03:29:34 +0000 (UTC) Date: Mon, 23 Jul 2012 03:29:34 +0000 (UTC) From: "Gary D. Gregory (JIRA)" To: issues@commons.apache.org Message-ID: <1456589435.89574.1343014174940.JavaMail.jiratomcat@issues-vm> In-Reply-To: <657585833.89420.1343012735039.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (VFS-432) [HTTP][WebDAV] Allow HTTP follow redirect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/VFS-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory resolved VFS-432. --------------------------------- Resolution: Fixed Committed revision 1364484. > [HTTP][WebDAV] Allow HTTP follow redirect > ----------------------------------------- > > Key: VFS-432 > URL: https://issues.apache.org/jira/browse/VFS-432 > Project: Commons VFS > Issue Type: Bug > Affects Versions: 2.0 > Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) > Maven home: C:\Java\apache-maven-3.0.4\bin\.. > Java version: 1.6.0_31, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_31\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" > Reporter: Gary D. Gregory > Fix For: 2.1 > > > 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: > {code:java} > final boolean followRedirect = true; > final FileSystemOptions opts = new FileSystemOptions(); > HttpFileSystemConfigBuilder.getInstance().setFollowRedirect(opts, followRedirect); > final FileObject file = VFS.getManager().resolveFile(uri, opts); > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira