Fix NetworkImage by always auto following redirects. (#3653)
This commit is contained in:
committed by
Adam Barth
parent
b2fa6c250a
commit
1c053b7d0a
@@ -159,7 +159,8 @@ class MojoClient {
|
||||
mojom.UrlRequest request = new mojom.UrlRequest()
|
||||
..url = url.toString()
|
||||
..headers = mojoHeaders
|
||||
..method = method;
|
||||
..method = method
|
||||
..autoFollowRedirects = true;
|
||||
if (body != null) {
|
||||
mojo.MojoDataPipe pipe = new mojo.MojoDataPipe();
|
||||
request.body = <mojo.MojoDataPipeConsumer>[pipe.consumer];
|
||||
|
||||
Reference in New Issue
Block a user