Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Unified Diff: lib/src/multipart_request.dart

Issue 2152793003: Remove an extra \r\n and fix a test. (Closed) Base URL: git@github.com:dart-lang/http@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/multipart_request.dart
diff --git a/lib/src/multipart_request.dart b/lib/src/multipart_request.dart
index 9e145c72f2391262eaadd14b10dde26e5b69714f..2d3b318c9d0c9f088bde4b6d49918803bfde167e 100644
--- a/lib/src/multipart_request.dart
+++ b/lib/src/multipart_request.dart
@@ -135,7 +135,7 @@ class MultipartRequest extends BaseRequest {
if (!isPlainAscii(value)) {
header = '$header\r\n'
'content-type: text/plain; charset=utf-8\r\n'
- 'content-transfer-encoding: binary\r\n';
+ 'content-transfer-encoding: binary';
}
return '$header\r\n\r\n';
}
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698