gleam-lang / gleam-lang/stdlib
uri.parse does not follow RFC 3986 on JS
Open
help wanted
- Dominant language
- Gleam
- Stars
- 710
- Forks
- 225
- Avg merge
- 5h 52m
- Merged PRs (30d)
- 3
Description
Current `uri.parse` does not follow the RFC.
JS `new URL("")` does not follow that RFC, either.
Specifically, "ws:path" is not split into a scheme and a path. This would be useful for opening a websocket from browser to the server, when connecting to the 'same' host.
As far as I can tell, the erlang ffi `uri_string:parse()` is following the RFC.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.