Chromium Code Reviews| Index: utils/pub/http.dart |
| diff --git a/utils/pub/http.dart b/utils/pub/http.dart |
| index b66f28d749f72b2fa79851f0ac700094b2dc429a..cb9d7e73809dd0a4302bf0b480fd7908533592cf 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 (contentType.value == 'application/x-www-form-urlencoded') { |
| - requestLog.writeln(''); |
| + requestLog.write(''); |
|
Søren Gjesse
2013/03/15 11:10:53
writeln()?
floitsch
2013/03/15 12:45:21
Done.
|
| requestLog.writeln("Body fields:"); |
| request.bodyFields.forEach((name, value) => |
| requestLog.writeln(_logField(name, value))); |
| @@ -99,7 +99,7 @@ class PubHttpClient extends http.BaseClient { |
| contentType.value == 'application/json') { |
| requestLog.write(request.body); |
| } else if (request is http.MultipartRequest) { |
| - requestLog.writeln(''); |
| + requestLog.writeln(); |
| requestLog.writeln("Body fields:"); |
| request.fields.forEach((name, value) => |
| requestLog.writeln(_logField(name, value))); |