Skip to content

host:port url handling #6

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. lookup any url through the proxy in the form of https://host:port/etc

modify the following code in http.py ( getHost() )
from 
            if port is None and r.scheme != "https":
                port = 80
            else:
                port = 443

to
            if port is None and r.scheme != "https":
                port = 80
            elif port is None and r.scheme == "https":
                port = 443

Original issue reported on code.google.com by zqy...@gmail.com on 29 Jan 2014 at 3:25

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions