added setContentType, setAccept for custom content type and accept headers