Skip to content

wsgi.simple_server resets 'Content-Length' header on empty content even if app defined it. #48089

@nosklo

Description

@nosklo
mannequin
BPO 3839
Nosy @pjeby, @pitrou
Files
  • wsgiref.handlers.py.patch: simple patch to wsgiref/handlers.py to fix it.
  • 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 2011-01-06.17:19:41.935>
    created_at = <Date 2008-09-11.18:07:51.140>
    labels = ['type-bug', 'library']
    title = "wsgi.simple_server resets 'Content-Length' header on empty content even if app defined it."
    updated_at = <Date 2017-05-09.15:25:31.369>
    user = 'https://bugs.python.org/nosklo'

    bugs.python.org fields:

    activity = <Date 2017-05-09.15:25:31.369>
    actor = 'kxroberto'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-01-06.17:19:41.935>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2008-09-11.18:07:51.140>
    creator = 'nosklo'
    dependencies = []
    files = ['11466']
    hgrepos = []
    issue_num = 3839
    keywords = ['patch']
    message_count = 4.0
    messages = ['73045', '109562', '125569', '293323']
    nosy_count = 4.0
    nosy_names = ['pje', 'kxroberto', 'pitrou', 'nosklo']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3839'
    versions = ['Python 3.1', 'Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions