Fix content type on put/post/delete

Check content types against http header