Skip to content

aiohttp.web.run_app displays wrong URI for IPv6 addresses (e.g. http://::1:1234/) #1139

Closed
@rutsky

Description

Use of aiohttp.web with IPv6 addresses produces wrong URI:

$ python -m aiohttp.web -H ::1 -P 1234 module:init_function
2016-08-31 03:13:21,999 asyncio DEBUG: Using selector: EpollSelector
======== Running on http://::1:1234/ ========
(Press CTRL+C to quit)

According to RFC 2732 IPv6 should be included in brackets: http://[::1]:1234/.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions