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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Tests for bug 3812 - GET and POST should not be the only HTTP methods implemente d in XMLHttpRequest. 1 Tests for bug 3812 - GET and POST should not be the only HTTP methods implemente d in XMLHttpRequest.
2 2
3 GET(""): GET(0 bytes), Content-Type: null 3 GET(""): GET(0 bytes), Content-Type: null
4 GET(null): GET(0 bytes), Content-Type: null 4 GET(null): GET(0 bytes), Content-Type: null
5 GET("123"): GET(0 bytes), Content-Type: null 5 GET("123"): GET(0 bytes), Content-Type: null
6 POST(""): POST(0 bytes), Content-Type: application/xml 6 POST(""): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
7 POST(null): POST(0 bytes), Content-Type: null 7 POST(null): POST(0 bytes), Content-Type: null
8 POST("123"): POST(3 bytes), Content-Type: application/xml 8 POST("123"): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
9 PUT(""): PUT(0 bytes), Content-Type: application/xml 9 PUT(""): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
10 PUT(null): PUT(0 bytes), Content-Type: null 10 PUT(null): PUT(0 bytes), Content-Type: null
11 PUT("123"): PUT(3 bytes), Content-Type: application/xml 11 PUT("123"): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
12 DELETE(""): DELETE(0 bytes), Content-Type: application/xml 12 DELETE(""): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
13 DELETE(null): DELETE(0 bytes), Content-Type: null 13 DELETE(null): DELETE(0 bytes), Content-Type: null
14 DELETE("123"): DELETE(3 bytes), Content-Type: application/xml 14 DELETE("123"): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
15 HEAD(""): HEAD(0 bytes), Content-Type: null 15 HEAD(""): HEAD(0 bytes), Content-Type: null
16 HEAD(null): HEAD(0 bytes), Content-Type: null 16 HEAD(null): HEAD(0 bytes), Content-Type: null
17 HEAD("123"): HEAD(0 bytes), Content-Type: null 17 HEAD("123"): HEAD(0 bytes), Content-Type: null
18 WKFOOBAR(""): null(null bytes), Content-Type: null 18 WKFOOBAR(""): null(null bytes), Content-Type: null
19 WKFOOBAR(null): null(null bytes), Content-Type: null 19 WKFOOBAR(null): null(null bytes), Content-Type: null
20 WKFOOBAR("123"): null(null bytes), Content-Type: null 20 WKFOOBAR("123"): null(null bytes), Content-Type: null
21 SEARCH(""): null(null bytes), Content-Type: null 21 SEARCH(""): null(null bytes), Content-Type: null
22 SEARCH(null): null(null bytes), Content-Type: null 22 SEARCH(null): null(null bytes), Content-Type: null
23 SEARCH("123"): null(null bytes), Content-Type: null 23 SEARCH("123"): null(null bytes), Content-Type: null
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698