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

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

Issue 13937008: Fix pkg:http tests to include the accept-encoding header. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « pkg/http/test/client_test.dart ('k') | pkg/http/test/request_test.dart » ('j') | no next file with comments »
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 81cca764d0eb46fa2bb1a31c59978d1ac022446b..b3227f50bafcbcc18a8bf38ae04165fd9e5418d3 100644
--- a/pkg/http/test/http_test.dart
+++ b/pkg/http/test/http_test.dart
@@ -36,6 +36,7 @@ main() {
'path': '/',
'headers': {
'content-length': ['0'],
+ 'accept-encoding': ['gzip'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
@@ -62,6 +63,7 @@ main() {
'application/x-www-form-urlencoded; charset=utf-8'
],
'content-length': ['40'],
+ 'accept-encoding': ['gzip'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
@@ -83,6 +85,7 @@ main() {
'method': 'POST',
'path': '/',
'headers': {
+ 'accept-encoding': ['gzip'],
'content-length': ['0'],
'content-type': ['text/plain'],
'x-random-header': ['Value'],
@@ -110,6 +113,7 @@ main() {
'content-type': [
'application/x-www-form-urlencoded; charset=utf-8'
],
+ 'accept-encoding': ['gzip'],
'content-length': ['40'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
@@ -133,6 +137,7 @@ main() {
'path': '/',
'headers': {
'content-length': ['0'],
+ 'accept-encoding': ['gzip'],
'content-type': ['text/plain'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
@@ -154,6 +159,7 @@ main() {
'path': '/',
'headers': {
'content-length': ['0'],
+ 'accept-encoding': ['gzip'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
}
@@ -172,6 +178,7 @@ main() {
'path': '/',
'headers': {
'content-length': ['0'],
+ 'accept-encoding': ['gzip'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
@@ -197,6 +204,7 @@ main() {
'path': '/',
'headers': {
'content-length': ['0'],
+ 'accept-encoding': ['gzip'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
« no previous file with comments | « pkg/http/test/client_test.dart ('k') | pkg/http/test/request_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698