fixed the contentType header issue for GET/PATCH requests