hurl icon indicating copy to clipboard operation
hurl copied to clipboard

Using libcurl to parse url

Open fabricereix opened this issue 4 years ago • 0 comments

Currently the url crate is used to parse url in a hurl file, for example, to extract the host part. Libcurl could be used for that parsing, that would reduce the number of dependencies.

Besides, it seems that the url crate tries to resolve the host at parsing. Url::parse("toto") only succeed when toto is resolved (for example defined in /etc/hosts). The parsing should succeed without resolving the host.

fabricereix avatar Jul 07 '21 09:07 fabricereix