Skip to content
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

303 handling should set body to None #13

Open
slingamn opened this issue Feb 6, 2025 · 0 comments
Open

303 handling should set body to None #13

slingamn opened this issue Feb 6, 2025 · 0 comments

Comments

@slingamn
Copy link
Owner

slingamn commented Feb 6, 2025

mureq/mureq.py

Lines 144 to 146 in 6c6f6fc

if response.status == 303:
# 303 See Other: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303
method = 'GET'

It's technically not incorrect to send GET with a body, but the body is always ignored so we shouldn't send it.

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

No branches or pull requests

1 participant