Skip to content

host:port url handling #6

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions