Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP: Provide a way to customize redirected requests naming strategy #4128

Closed
slandelle opened this issue Aug 18, 2021 · 0 comments
Closed

Comments

@slandelle
Copy link
Member

No description provided.

@slandelle slandelle added this to the 3.7.0 milestone Aug 18, 2021
@slandelle slandelle self-assigned this Aug 18, 2021
slandelle added a commit that referenced this issue Aug 18, 2021
…4128

Motivation:

Users might want to be able to tune the redirected request strategy to provide more meaningful names.

Modification:

Introduce `redirectNamingStrategy` on `HttpProtocol`. This takes a function that has the following parameters:

* the target Uri
* the original request name (as the first of the redirect chain)
* the count of redirects in the redirect chain

Result:

Feature to provide more meaningful redirected request names than the ones we can compute automatically.
slandelle added a commit that referenced this issue Aug 23, 2021
…4128

Motivation:

Users might want to be able to tune the redirected request strategy to provide more meaningful names.

Modification:

Introduce `redirectNamingStrategy` on `HttpProtocol`. This takes a function that has the following parameters:

* the target Uri
* the original request name (as the first of the redirect chain)
* the count of redirects in the redirect chain

Result:

Feature to provide more meaningful redirected request names than the ones we can compute automatically.
slandelle added a commit that referenced this issue Aug 23, 2021
…4128

Motivation:

Users might want to be able to tune the redirected request strategy to provide more meaningful names.

Modification:

Introduce `redirectNamingStrategy` on `HttpProtocol`. This takes a function that has the following parameters:

* the target Uri
* the original request name (as the first of the redirect chain)
* the count of redirects in the redirect chain

Result:

Feature to provide more meaningful redirected request names than the ones we can compute automatically.
@slandelle slandelle modified the milestones: 3.7.1, 3.6.2 Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant