Skip to content

Document more BaseHTTPRequestHandler attributes #67598

Closed

Description

@vadmium
BPO 23410
Nosy @berkerpeksag, @vadmium, @demianbrecht
Files
  • http-attributes.patch
  • http-attributes.v2.patch
  • http-attributes.v3.patch
  • 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 = <Date 2015-02-18.02:13:37.942>
    created_at = <Date 2015-02-08.10:21:17.617>
    labels = ['type-feature', 'library', 'docs']
    title = 'Document more BaseHTTPRequestHandler attributes'
    updated_at = <Date 2015-02-18.02:13:37.897>
    user = 'https://github.com/vadmium'

    bugs.python.org fields:

    activity = <Date 2015-02-18.02:13:37.897>
    actor = 'python-dev'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2015-02-18.02:13:37.942>
    closer = 'python-dev'
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2015-02-08.10:21:17.617>
    creator = 'martin.panter'
    dependencies = []
    files = ['38042', '38141', '38157']
    hgrepos = []
    issue_num = 23410
    keywords = ['patch']
    message_count = 7.0
    messages = ['235554', '235941', '236018', '236124', '236126', '236127', '236162']
    nosy_count = 5.0
    nosy_names = ['docs@python', 'python-dev', 'berker.peksag', 'martin.panter', 'demian.brecht']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23410'
    versions = []

    Activity

    1. vadmium commented on Feb 8, 2015

      @vadmium
      MemberAuthor

      [Padding to avoid Error: 'utf8' codec can't decode bytes in position 189-190: invalid continuation byte]

      This is a patch to document two attributes of http.server.BaseHTTPRequestHandler: “close_connection” and “requestline”. Normally these are set by the handle_one_request() method, but when overriding that method, you need to know to set these attributes.

    2. added
      docsDocumentation in the Doc dir
      type-featureA feature request or enhancement
      on Feb 8, 2015
    3. demianbrecht commented on Feb 14, 2015

      demianbrechtmannequin
      Mannequin

      Minor comment in Rietveld, otherwise LGTM.

    4. vadmium commented on Feb 15, 2015

      @vadmium
      MemberAuthor

      Posting another patch which hopefully explains the “requestline” attribute a bit better. Let me know if you have any ideas for better wording.

    5. vadmium commented on Feb 17, 2015

      @vadmium
      MemberAuthor

      Posting patch v3. It is based on Demian’s suggested wording for the requestline attribute, but adjusted to match the other entries, and to mention the empty string.

    6. demianbrecht commented on Feb 17, 2015

      demianbrechtmannequin
      Mannequin

      LGTM

    7. demianbrecht commented on Feb 17, 2015

      demianbrechtmannequin
      Mannequin

      Added Library component as there are a few newly added tests as well though and cosmetic changes were made to server.py.

    8. added
      stdlibStandard Library Python modules in the Lib/ directory
      on Feb 17, 2015
    9. python-dev commented on Feb 18, 2015

      python-devmannequin
      Mannequin

      New changeset f9ff2a5bbbe2 by Benjamin Peterson in branch '3.4':
      document the requestline and close_connection attributes, use real booleans, and add tests (closes bpo-23410)
      https://hg.python.org/cpython/rev/f9ff2a5bbbe2

      New changeset 6e3e252cf047 by Benjamin Peterson in branch 'default':
      merge 3.4 (bpo-23410)
      https://hg.python.org/cpython/rev/6e3e252cf047

    10. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      docsDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions