| Index: utils/pub/http.dart
|
| diff --git a/utils/pub/http.dart b/utils/pub/http.dart
|
| index bd68b45680c0f1a532b46ee48fdc06b705e9cf98..59fb586df26a0e6b023c5d9cb7ebd76c91a887f0 100644
|
| --- a/utils/pub/http.dart
|
| +++ b/utils/pub/http.dart
|
| @@ -91,7 +91,7 @@ class PubHttpClient extends http.BaseClient {
|
| if (contentTypeString == null) contentTypeString = '';
|
| var contentType = new ContentType.fromString(contentTypeString);
|
| if (request is http.MultipartRequest) {
|
| - requestLog.writeln('');
|
| + requestLog.writeln();
|
| requestLog.writeln("Body fields:");
|
| request.fields.forEach((name, value) =>
|
| requestLog.writeln(_logField(name, value)));
|
| @@ -99,7 +99,7 @@ class PubHttpClient extends http.BaseClient {
|
| // TODO(nweiz): make MultipartRequest.files readable, and log them?
|
| } else if (request is http.Request) {
|
| if (contentType.value == 'application/x-www-form-urlencoded') {
|
| - requestLog.writeln('');
|
| + requestLog.writeln();
|
| requestLog.writeln("Body fields:");
|
| request.bodyFields.forEach((name, value) =>
|
| requestLog.writeln(_logField(name, value)));
|
|
|