Skip to content

netloc is not domain #2

@hmgle

Description

@hmgle

The netloc contain port and user:password prefix of the url.

For example:

    parse_domain('ftp://user:passwd@example.com:1234') will return 'user:passwd@example.com:1234'.

Is getattr(parsed,'hostname',url) better?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions