 Chromium Code Reviews
 Chromium Code Reviews Issue 238083002:
  Don't time out when uploading a package for "pub lish".  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
    
  
    Issue 238083002:
  Don't time out when uploading a package for "pub lish".  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart| Index: sdk/lib/_internal/pub/lib/src/command/lish.dart | 
| diff --git a/sdk/lib/_internal/pub/lib/src/command/lish.dart b/sdk/lib/_internal/pub/lib/src/command/lish.dart | 
| index 91bfacff19123a685b0a82f429b96190dfa214d7..b85d0f42c408c4bb6d386e13d4ee5acfece9cd37 100644 | 
| --- a/sdk/lib/_internal/pub/lib/src/command/lish.dart | 
| +++ b/sdk/lib/_internal/pub/lib/src/command/lish.dart | 
| @@ -56,6 +56,7 @@ class LishCommand extends PubCommand { | 
| if (url is! String) invalidServerResponse(response); | 
| cloudStorageUrl = Uri.parse(url); | 
| var request = new http.MultipartRequest('POST', cloudStorageUrl); | 
| + request.headers['Pub-Http-Timeout'] = 'None'; | 
| 
Bob Nystrom
2014/04/15 00:11:02
Is there a reason you added this to the headers in
 
nweiz
2014/04/15 01:02:29
[client] here is actually an oauth2.Client, not a
 | 
| var fields = _expectField(parameters, 'fields', response); | 
| if (fields is! Map) invalidServerResponse(response); |