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

This commit is contained in:
Andrew Wilson
2016-04-29 20:53:53 -07:00
committed by Adam Barth
parent b2fa6c250a
commit 1c053b7d0a

View File

@@ -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];