Skip to content

Env proxy parser error #2639

@aetherwu

Description

@aetherwu

set http_proxy=http://127.0.0.1:7890 & set https_proxy=https://127.0.0.1:7890
Went wrong around _models.py:

if not self.host:
                raise InvalidURL("No host included in URL.")

Where as
set http_proxy=http://127.0.0.1:7890
Works fine.

I am sorry that I couldn't provide a PR but I hope this issue helps.

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