blob: 1a2d207ddbce22db4c763ac9c6241db46bea9889 [file] [log] [blame]
GET and POST should not be the only HTTP methods implemented in XMLHttpRequest for Workers.
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(null): POST(0 bytes), Content-Type: null
POST("123"): POST(3 bytes), Content-Type: application/xml
PUT(""): PUT(0 bytes), Content-Type: application/xml
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
DELETE(null): DELETE(0 bytes), Content-Type: null
DELETE("123"): DELETE(3 bytes), Content-Type: application/xml
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(null): WKFOOBAR(0 bytes), Content-Type: null
WKFOOBAR("123"): WKFOOBAR(3 bytes), Content-Type: application/xml
SEARCH(""): SEARCH(0 bytes), Content-Type: application/xml
SEARCH(null): SEARCH(0 bytes), Content-Type: null
SEARCH("123"): SEARCH(3 bytes), Content-Type: application/xml
DONE