Closed ypresto closed 9 years ago
POST request defaults to application/x-www-form-urlencoded (in some layer... i don't know where), but PATCH requests defaults to application/json.
This patch fixes problem that urlencoded PATCH request sent as application/json, by specifying explicit Content-Type header.
test failed because there is no test code :P
ok
POST request defaults to application/x-www-form-urlencoded (in some layer... i don't know where), but PATCH requests defaults to application/json.
This patch fixes problem that urlencoded PATCH request sent as application/json, by specifying explicit Content-Type header.