You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I see, fluent_uri==0.3.0 normalizes http://example.com and http://example.com:80 to different values and therefore does not consider them equal. My reading of RFC 3986 6.2.3 is that such URIs should be considered equivalent.
I think it would be nice to have a minimal implementation of scheme-based normalization in this library. Would you define the scope of your use case, such as which schemes you need this behavior with, and is it just default port normalization that you need, or do you also need to normalize an empty path to / for HTTP, for example?
In my use case, I needed o follow the json schema reference resolution rules that require normalisation. There is a test suite for this behaviour and right now, only default port normalisation tests are failing
As far as I see,
fluent_uri==0.3.0
normalizeshttp://example.com
andhttp://example.com:80
to different values and therefore does not consider them equal. My reading of RFC 3986 6.2.3 is that such URIs should be considered equivalent.Is my understanding correct? If so, would it make sense to adjust the normalization logic in
fluent_uri
so it matches this semantics?The text was updated successfully, but these errors were encountered: