blob: 085463652eb01a68f711196a5f6ae10acb5ff99b [file] [log] [blame]
Tests for bug 3812 - GET and POST should not be the only HTTP methods implemented in XMLHttpRequest.
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