Skip to content

ProxyConnector drops port #128

Closed
Closed
@nbraem

Description

The following:

conn = aiohttp.ProxyConnector(proxy="http://some.proxy.com")
r = yield from aiohttp.request('get', 'http://localhost:1234/path', connector=conn)

generates a request to the proxy:

GET http://localhost/parth HTTP/1.1

Note that the port was dropped.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions