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

Unified Diff: LayoutTests/platform/win/http/tests/xmlhttprequest/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/platform/win/http/tests/xmlhttprequest/methods-expected.txt
diff --git a/LayoutTests/platform/win/http/tests/xmlhttprequest/methods-expected.txt b/LayoutTests/platform/win/http/tests/xmlhttprequest/methods-expected.txt
index 181d7d8a8f539e6b1794d0727850b5c03f60ce96..66810de31f75a1652237dd61f27af25421a1fecf 100644
--- a/LayoutTests/platform/win/http/tests/xmlhttprequest/methods-expected.txt
+++ b/LayoutTests/platform/win/http/tests/xmlhttprequest/methods-expected.txt
@@ -3,15 +3,15 @@ Tests for bug 3812 - GET and POST should not be the only HTTP methods implemente
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

Powered by Google App Engine
This is Rietveld 408576698