Commit 1c053b7d authored by Andrew Wilson's avatar Andrew Wilson Committed by Adam Barth

Fix NetworkImage by always auto following redirects. (#3653)

parent b2fa6c25
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment