Skip to content

Feature request: Allow url_* functions to work with request objects #798

@billdenney

Description

@billdenney

It is currently possible to modify a URL in a request by extracting it, modifying it, and putting it back. It would be simpler for the user if request objects could be used as a URL in any relevant function.

Specifically, I think that it would apply for:

  • url_modify
  • url_modify_query (this could be a simple call to req_url_query which already calls to url_modify_query)
  • url_modify_relative (this could be a simple call to url_modify_relative which already calls to url_modify_relative)
  • url_parse
  • url_query_parse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions