getsentry / getsentry/responses

deprecate `content_type` argument

Open
#675 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.3k
Forks
378
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Should we consider deprecating the `content_type` argument?
It appears redundant in conjunction with the `headers` argument. Common tools like cURL and libraries such as `requests` do not provide a specific way to set the data type; it is typically managed through headers. Therefore, I propose that we consider deprecating the `content_type` argument to streamline the function signature and simplify the codebase. Instead, we could encourage users to utilize the `headers` parameter for specifying the content type. This would enhance clarity and maintain consistency with prevailing practices.

@markstory
thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.