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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-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 unified diff | Download patch
OLDNEW
1 GET and POST should not be the only HTTP methods implemented in XMLHttpRequest f or SharedWorkers. 1 GET and POST should not be the only HTTP methods implemented in XMLHttpRequest f or SharedWorkers.
2 2
3 GET(""): GET(null bytes), Content-Type: null 3 GET(""): GET(null bytes), Content-Type: null
4 GET(null): GET(null bytes), Content-Type: null 4 GET(null): GET(null bytes), Content-Type: null
5 GET("123"): GET(null bytes), Content-Type: null 5 GET("123"): GET(null 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(null bytes), Content-Type: null 13 DELETE(null): DELETE(null 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(""): WKFOOBAR(0 bytes), Content-Type: application/xml 18 WKFOOBAR(""): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
19 WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null 19 WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
20 WKFOOBAR("123"): WKFOOBAR(3 bytes), Content-Type: application/xml 20 WKFOOBAR("123"): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
21 SEARCH(""): SEARCH(0 bytes), Content-Type: application/xml 21 SEARCH(""): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
22 SEARCH(null): SEARCH(null bytes), Content-Type: null 22 SEARCH(null): SEARCH(null bytes), Content-Type: null
23 SEARCH("123"): SEARCH(3 bytes), Content-Type: application/xml 23 SEARCH("123"): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
24 DONE 24 DONE
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698