Closed as not planned
Description
- Note that this crate implements the URL Standard not RFC 1738 or RFC 3986
Describe the bug
related to #28
This was an issue way back in 2014, but doesn't seem like it was ever really addressed.
I would expect calling port()
on http://example.com
to return 80. It is really confusing that it would return a None. It's even worse when you set the port explicitly http://example.com:80
and it still seems like it isn't working correctly because it still returns None.
I could update the docs to have an example of the port being ignored, but it seems like it would just make more sense to have port()
actually return the port and do what is suggested in this comment
Metadata
Metadata
Assignees
Labels
No labels