[Bug libgcj/15509] New: URL.connect does not include port into the "Host:" header field of HTTP request

elizarov at devexperts dot com gcc-bugzilla@gcc.gnu.org
Tue May 18 10:39:00 GMT 2004


When connection is attempted with URL class to something 
like "myhost:8080/myfile" the following header is generated:

Host: myhost

But it should be:

Host: myhost:8080

-- 
           Summary: URL.connect does not include port into the "Host:"
                    header field of HTTP request
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: elizarov at devexperts dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15509



More information about the Java-prs mailing list