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

Unified Diff: pkg/http/test/http_test.dart

Issue 11637017: Change the HTTP Content-Length handling (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « no previous file | sdk/lib/io/http_headers.dart » ('j') | sdk/lib/io/http_impl.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http/test/http_test.dart
diff --git a/pkg/http/test/http_test.dart b/pkg/http/test/http_test.dart
index 90851711192f262d94fcda388433815c748c39ec..7e6e7ef6ac91569bf45789ee4d5ae5de78ba323b 100644
--- a/pkg/http/test/http_test.dart
+++ b/pkg/http/test/http_test.dart
@@ -32,6 +32,7 @@ main() {
'method': 'GET',
'path': '/',
'headers': {
+ 'content-length': ['0'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
@@ -75,6 +76,7 @@ main() {
'method': 'POST',
'path': '/',
'headers': {
+ 'content-length': ['0'],
'content-type': ['text/plain'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
@@ -119,6 +121,7 @@ main() {
'method': 'PUT',
'path': '/',
'headers': {
+ 'content-length': ['0'],
'content-type': ['text/plain'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
@@ -137,6 +140,7 @@ main() {
'method': 'DELETE',
'path': '/',
'headers': {
+ 'content-length': ['0'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
}
@@ -152,6 +156,7 @@ main() {
'method': 'GET',
'path': '/',
'headers': {
+ 'content-length': ['0'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
@@ -172,6 +177,7 @@ main() {
'method': 'GET',
'path': '/',
'headers': {
+ 'content-length': ['0'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
« no previous file with comments | « no previous file | sdk/lib/io/http_headers.dart » ('j') | sdk/lib/io/http_impl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698