File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -637,7 +637,7 @@ internal struct RedirectHandler<T> {
637
637
return nil
638
638
}
639
639
640
- guard HTTPClient . Request. isSchemeSupported ( scheme: request. scheme) else {
640
+ guard HTTPClient . Request. isSchemeSupported ( scheme: self . request. scheme) else {
641
641
return nil
642
642
}
643
643
@@ -652,9 +652,9 @@ internal struct RedirectHandler<T> {
652
652
let originalRequest = self . request
653
653
654
654
var convertToGet = false
655
- if status == . seeOther, request. method != . HEAD {
655
+ if status == . seeOther, self . request. method != . HEAD {
656
656
convertToGet = true
657
- } else if status == . movedPermanently || status == . found, request. method == . POST {
657
+ } else if status == . movedPermanently || status == . found, self . request. method == . POST {
658
658
convertToGet = true
659
659
}
660
660
You can’t perform that action at this time.
0 commit comments