FollowRedirect
cannot pass Extensions
#152
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
Feature Request
Motivation
The currently redirected
Request
will not carry theExtensions
of originalRequest
, which may cause the http client to lose some context.Proposal
Maybe we should modify the
Policy
trait so thatclone_body
becomesclone_request
.Allow users to deal with
Extensions
that need to be inherited.Alternatives
In the current implementation, users can take out
Extensions
from the firston_request
and set it in the subsequenton_request
.But this seems strange, and there is no docs to guarantee the stability of this behavior.
The text was updated successfully, but these errors were encountered: