fix missing Content-Type in PATCH or etc.

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.