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

Unified Diff: LayoutTests/platform/win/http/tests/xmlhttprequest/workers/methods-async-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/platform/win/http/tests/xmlhttprequest/workers/methods-async-expected.txt
diff --git a/LayoutTests/platform/win/http/tests/xmlhttprequest/workers/methods-async-expected.txt b/LayoutTests/platform/win/http/tests/xmlhttprequest/workers/methods-async-expected.txt
index a554c53473bc48b3da6a1f36a428cee052862c62..223ff1a408092e669a9139854ebae00da3c08b2a 100644
--- a/LayoutTests/platform/win/http/tests/xmlhttprequest/workers/methods-async-expected.txt
+++ b/LayoutTests/platform/win/http/tests/xmlhttprequest/workers/methods-async-expected.txt
@@ -3,15 +3,15 @@ GET and POST should not be the only HTTP methods implemented in XMLHttpRequest f
GET(""): GET(0 bytes), Content-Type: null
GET(null): GET(0 bytes), Content-Type: null
GET("123"): GET(0 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(0 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
« no previous file with comments | « LayoutTests/platform/win/http/tests/xmlhttprequest/methods-expected.txt ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698