Skip to content

Export httr2:::url_modify() #464

@burgerga

Description

@burgerga

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementurl 👑

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions