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=11748>.
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=11748

Location header for redirection does not contain the port number

           Summary: Location header for redirection does not contain the
                    port number
           Product: Tomcat 4
           Version: 4.1.9
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have written a Java HTTP Client. It works with Tomcat 4.0.1 but it doesn't 
work with Tomcat 4.1.9. It seems that the location header does not the 
application port number. 

My request (http://localhost:8080/nm/):
GET /nm/ HTTP/1.0
Host: localhost
Content-Length: 0
Connection: Close
User-Agent: None

The response:
Location: http://localhost/nm/index.jsp        <---- Doesn't have port number
Content-Type: text/html
Date: Thu, 15 Aug 2002 21:44:30 GMT
Server: Apache Coyote/1.0
Connection: close

If I just take the Location from the header and do a redirection, the request 
will be invalid.

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

Reply via email to