Related to the `_default_content_type` comment: `kwargs.setdefault('content_type', 'application/json')`.