It seems httr::parse_url has a dependency on protocol that is surprising. For instance, if protocol is not defined, then everything shows up in the $path, where I would expect the hostname to be parsed.
httr has been superseded in favour of httr2, so is no longer under active development. If this problem is still important to you in httr2, I'd suggest filing an issue offer there 😄. Thanks for using httr!
Related to #659
It seems
httr::parse_url
has a dependency on protocol that is surprising. For instance, if protocol is not defined, then everything shows up in the$path
, where I would expect the hostname to be parsed.Created on 2021-04-16 by the reprex package (v0.3.0)