feat(client): Remove cross-origin redirect proxy support #477
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request involves the removal of the
redirect_with_proxy_auth
feature from the HTTP client in thesrc/client/http.rs
file. The changes simplify the codebase by removing associated configurations, methods, and references to this feature.Key changes include:
Removal of
redirect_with_proxy_auth
feature:src/client/http.rs
: Removed theredirect_with_proxy_auth
field from theConfig
andClientInner
structs. [1] [2]src/client/http.rs
: Deleted theredirect_with_proxy_auth
method from theClientBuilder
implementation.src/client/http.rs
: Removed references toredirect_with_proxy_auth
from theClientBuilder
andPendingRequest
implementations. [1] [2] [3]Update to header removal logic:
src/redirect.rs
: Simplified theremove_sensitive_headers
method by removing thecross_proxy_auth
parameter and its associated logic.Tests update:
src/redirect.rs
: Updated thetest_remove_sensitive_headers
test to reflect the changes in theremove_sensitive_headers
method and removed thetest_proxy_auth_redirect_headers
test.