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 urlencoded PATCH request sent as application/json, by explicit Content-Type header.