Skip to content

Change made by RequestEditorFn to req.URL lost #305

@rkojedzinszky

Description

@rkojedzinszky

I wanted to use RequestEditorFn to alter URL for a request, but as applyEditors() calls req = req.WithContext(ctx), changes are made to a cloned request, thus, at the end are lost.

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