File tree Expand file tree Collapse file tree 4 files changed +124
-268
lines changed Expand file tree Collapse file tree 4 files changed +124
-268
lines changed Original file line number Diff line number Diff line change @@ -172,8 +172,9 @@ pub trait ServiceBuilderExt<L>: sealed::Sealed<L> + Sized {
172
172
self ,
173
173
) -> ServiceBuilder <
174
174
Stack <
175
- crate :: follow_redirect:: extension :: FollowRedirectExtensionLayer <
175
+ crate :: follow_redirect:: FollowRedirectLayer <
176
176
crate :: follow_redirect:: policy:: Standard ,
177
+ crate :: follow_redirect:: PolicyExtension ,
177
178
> ,
178
179
L ,
179
180
> ,
@@ -483,13 +484,18 @@ impl<L> ServiceBuilderExt<L> for ServiceBuilder<L> {
483
484
self ,
484
485
) -> ServiceBuilder <
485
486
Stack <
486
- crate :: follow_redirect:: extension :: FollowRedirectExtensionLayer <
487
+ crate :: follow_redirect:: FollowRedirectLayer <
487
488
crate :: follow_redirect:: policy:: Standard ,
489
+ crate :: follow_redirect:: PolicyExtension ,
488
490
> ,
489
491
L ,
490
492
> ,
491
493
> {
492
- self . layer ( crate :: follow_redirect:: extension:: FollowRedirectExtensionLayer :: new ( ) )
494
+ self . layer (
495
+ crate :: follow_redirect:: FollowRedirectLayer :: with_policy_extension (
496
+ crate :: follow_redirect:: policy:: Standard :: default ( ) ,
497
+ ) ,
498
+ )
493
499
}
494
500
495
501
#[ cfg( feature = "sensitive-headers" ) ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments