Skip to content

303 handling should set body to None #13

@slingamn

Description

@slingamn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions