Index: sdk/lib/io/http_impl.dart |
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart |
index 5eabddbd64f5189ae277ea5f5635f77f305fc945..1fc9a17be11e6f63deb740eb9d559b4b9cc6cb22 100644 |
--- a/sdk/lib/io/http_impl.dart |
+++ b/sdk/lib/io/http_impl.dart |
@@ -2382,7 +2382,7 @@ class _RedirectInfo implements RedirectInfo { |
} |
String _getHttpVersion() { |
- var version = new Options().version; |
+ var version = Platform.version; |
// Only include major and minor version numbers. |
int index = version.indexOf('.', version.indexOf('.') + 1); |
version = version.substring(0, index); |