Skip to content

set_host not working #731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andrewbanchich opened this issue Dec 2, 2021 · 0 comments · Fixed by #734
Closed

set_host not working #731

andrewbanchich opened this issue Dec 2, 2021 · 0 comments · Fixed by #734

Comments

@andrewbanchich
Copy link
Contributor

andrewbanchich commented Dec 2, 2021

In the example, after calling url.set_host(None) the host is actually not set to None, but is Some("").

playground demo

Not sure if this is related, but I also cannot seem to set host to None for certain types of URLs (example). The error just says EmptyHost but I can't find any explanation of what this is supposed to mean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant