Skip to content

Convert host to lowercase on URL building #386

@asvetlov

Description

@asvetlov

MacOS can return CamelCased FQDN for the local host, e.g. Mac-1137.local.
At least I see it on Azure CI for aiohttp project.

IIRC the name should be lower-cased.
Well, technically the upper case is supported still, the comparison rule is case-insensitive.
But lower-casing is highly recommended, yarl should apply this conversion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions