Add the followRedirects and maxRedirects fields to the Request object in the GetConnect _get method
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -268,6 +268,8 @@ class GetHttpClient { | @@ -268,6 +268,8 @@ class GetHttpClient { | ||
268 | headers: headers, | 268 | headers: headers, |
269 | decoder: decoder ?? (defaultDecoder as Decoder<T>?), | 269 | decoder: decoder ?? (defaultDecoder as Decoder<T>?), |
270 | contentLength: 0, | 270 | contentLength: 0, |
271 | + followRedirects: followRedirects, | ||
272 | + maxRedirects: maxRedirects, | ||
271 | )); | 273 | )); |
272 | } | 274 | } |
273 | 275 |
-
Please register or login to post a comment