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

Add PAYLOAD_TOO_LARGE / URI_TOO_LONG (new name in RFC 7231) #69925

Open
spaceone mannequin opened this issue Nov 27, 2015 · 3 comments
Open

Add PAYLOAD_TOO_LARGE / URI_TOO_LONG (new name in RFC 7231) #69925

spaceone mannequin opened this issue Nov 27, 2015 · 3 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@spaceone
Copy link
Mannequin

spaceone mannequin commented Nov 27, 2015

BPO 25739
Nosy @vadmium, @spaceone, @ZackerySpytz
PRs
  • gh-69925: Add PAYLOAD_TOO_LARGE / URI_TOO_LONG to http.HTTPStatus #22295
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2015-11-27.00:30:04.411>
    labels = ['type-feature', 'library']
    title = 'Add PAYLOAD_TOO_LARGE / URI_TOO_LONG (new name in RFC 7231)'
    updated_at = <Date 2020-09-18.05:51:47.742>
    user = 'https://github.com/spaceone'

    bugs.python.org fields:

    activity = <Date 2020-09-18.05:51:47.742>
    actor = 'ZackerySpytz'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-11-27.00:30:04.411>
    creator = 'spaceone'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 25739
    keywords = ['patch']
    message_count = 3.0
    messages = ['255444', '255446', '255447']
    nosy_count = 3.0
    nosy_names = ['martin.panter', 'spaceone', 'ZackerySpytz']
    pr_nums = ['22295']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue25739'
    versions = ['Python 3.6']

    @spaceone
    Copy link
    Mannequin Author

    spaceone mannequin commented Nov 27, 2015

    Add PAYLOAD_TOO_LARGE status code to http package.
    Patch: spaceone/cpython@5d9427a

    @spaceone spaceone mannequin added the stdlib Python modules in the Lib dir label Nov 27, 2015
    @spaceone
    Copy link
    Mannequin Author

    spaceone mannequin commented Nov 27, 2015

    @spaceone spaceone mannequin changed the title Add PAYLOAD_TOO_LARGE (new name in RFC 7231) Add PAYLOAD_TOO_LARGE / URI_TOO_LONG (new name in RFC 7231) Nov 27, 2015
    @vadmium
    Copy link
    Member

    vadmium commented Nov 27, 2015

    In general, I’m not sure it is worth adding aliases for various names used in different RFCs. But you could argue that this is appropriate because the old names are unnecessarily long. Another example would be HTTPStatus.REQUESTED_RANGE_NOT_SATISFIABLE vs “Range Not Satisfiable” <https://tools.ietf.org/html/rfc7233#section-4.4\>.

    If we were to go ahead with this, it would need a documentation update. A test case would also be nice, ensuring that the new name is the “one true” name, and the old name is an alias.

    @vadmium vadmium added the type-feature A feature request or enhancement label Nov 27, 2015
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant