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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt

Issue 22601002: Correct the default Content-Type for XHR Post with string data as per XHR specification. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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
Index: LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt b/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt
index 6f7e937531897a0b9842f5869f2d27778a18c5d9..265db5b5ff234c3d10c274a37b9b912df7bf27ec 100644
--- a/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt
+++ b/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt
@@ -3,22 +3,22 @@ GET and POST should not be the only HTTP methods implemented in XMLHttpRequest f
GET(""): GET(null bytes), Content-Type: null
GET(null): GET(null bytes), Content-Type: null
GET("123"): GET(null bytes), Content-Type: null
-POST(""): POST(0 bytes), Content-Type: application/xml
+POST(""): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
POST(null): POST(0 bytes), Content-Type: null
-POST("123"): POST(3 bytes), Content-Type: application/xml
-PUT(""): PUT(0 bytes), Content-Type: application/xml
+POST("123"): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(""): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
PUT(null): PUT(0 bytes), Content-Type: null
-PUT("123"): PUT(3 bytes), Content-Type: application/xml
-DELETE(""): DELETE(0 bytes), Content-Type: application/xml
+PUT("123"): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(""): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
DELETE(null): DELETE(null bytes), Content-Type: null
-DELETE("123"): DELETE(3 bytes), Content-Type: application/xml
+DELETE("123"): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
HEAD(""): HEAD(0 bytes), Content-Type: null
HEAD(null): HEAD(0 bytes), Content-Type: null
HEAD("123"): HEAD(0 bytes), Content-Type: null
-WKFOOBAR(""): WKFOOBAR(0 bytes), Content-Type: application/xml
+WKFOOBAR(""): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
-WKFOOBAR("123"): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(""): SEARCH(0 bytes), Content-Type: application/xml
+WKFOOBAR("123"): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(""): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
SEARCH(null): SEARCH(null bytes), Content-Type: null
-SEARCH("123"): SEARCH(3 bytes), Content-Type: application/xml
+SEARCH("123"): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
DONE

Powered by Google App Engine
This is Rietveld 408576698