httr2
httr2 copied to clipboard
Export `httr2:::url_modify()`
TLDR: httr::modify_url() is exported, but httr2:::url_modify() not; please export this useful function
I'm wrapping an API and upon successful POST the API unfortunately only returns a document ID and not the full URL, so to print the full URL I have to construct it by appending this document ID to the base URL. So I'm looking for a function like httr2::req_url_path() that works on a URL instead of a request. Previously, I used httr::modify_url() but the httr2 version httr2:::url_modify() is not exported, would it be possible to export this function in httr2 as well?
Yeah, that seems reasonable!