DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13434>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13434

setFollowRedirects(false) doesn't work for HttpMultiClient

           Summary: setFollowRedirects(false) doesn't work for
                    HttpMultiClient
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HttpClient
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Looking at the source for HttpMultiClient.executeMethod() it's pretty obvious why. 
There is code, completely separate from the *Method, that also handles 3xx. This code 
does not check the followsRedirect flag.  Indeed, the code is completely redundant (in 
addition to buggy).  Also noted by "dion" in rev 1.11.  cvs annotate reveals that it 
has been in there since rev 1.1  I have also written some tests, a modified version of 
TestWebappRedirect.java called TestWebappNoRedirect.java.  But, I have not setup 
Tomcat yet. I will have to check it into CVS or post it to the mailing list.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to