| Index: sdk/lib/_internal/pub/lib/src/http.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/http.dart b/sdk/lib/_internal/pub/lib/src/http.dart
|
| index 5b13a89abd13229b2a1c69863c0ccff92611add7..017b387f4d23ff71d962dd56f161dfbbffb56574 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/http.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/http.dart
|
| @@ -52,6 +52,7 @@ class PubHttpClient extends http.BaseClient {
|
|
|
| Future<http.StreamedResponse> send(http.BaseRequest request) {
|
| _requestStopwatches[request] = new Stopwatch()..start();
|
| + request.headers[HttpHeaders.USER_AGENT] = "Dart pub ${sdk.version}";
|
| _logRequest(request);
|
|
|
| // TODO(nweiz): remove this when issue 4061 is fixed.
|
|
|