fixed up request type and content type