Skip to content

Response.encoding can be None #6067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2021
Merged

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Sep 24, 2021

No description provided.

Copy link
Collaborator

@Akuli Akuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is intentional, since the implementation (requests.utils.get_encoding_from_headers) doesn't have an explicit return None and specifies :rtype: str in the docstring.

@Akuli Akuli merged commit 3128c6a into python:master Sep 25, 2021
@srittau srittau deleted the requests-encoding branch September 25, 2021 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants