aa7652cccf
An HttpClient instance now has the property findProxy. This property can be set to a function which can return the proxy configuration encoded in a string in the same format as is used by browser PAC (proxy auto-config) scripts. Currently only the first proxy in the list will be used. I will address trying multiple proxies in a separate CL. Also fixed a HTTP input stream bug revealed by the tests. If an input stream from either a HttpRequest or HttpClientResponse object is retreived after all data in the body has been received the HTTP input stream would call the onClosed callback. R=ajohnsen@google.com BUG=dart:5468 TEST=tests/standalone/io/http_proxy_test.dart Review URL: https://codereview.chromium.org//11066041 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13348 260f80e4-7a28-3924-810f-c04153c831b5