• Guido van Rossum's avatar
    SF Patch #103232 by dougfort: Preserve Nonstandard Port Number in Host · f6922aa4
    Guido van Rossum yazdı
    Header
    
    Dougfort's comments: httplib does not include ':port ' in the HTTP 1.1
    'Host:' header.  This causes problems if the server is not listening
    on Port 80.  The test case I use is the login to /manage under Zope,
    with Zope listening on port 8080. Zope returns a <frameset> with the
    <frame> source URLs lacking the :8080.
    f6922aa4
httplib.py 26.9 KB