Skip to content

SimpleHTTPServer reports wrong content-length for text files #39531

Description

@irmen
mannequin
BPO 839496
Nosy @birkenfeld, @irmen, @amauryfa, @bluebird75
Files
  • diff.txt: SimpleHTTPServer patch
  • httptest.zip: test case that shows the problem on Windows.
  • 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 2008-07-20.11:26:37.960>
    created_at = <Date 2003-11-10.20:42:43.000>
    labels = ['easy', 'library']
    title = 'SimpleHTTPServer reports wrong content-length for text files'
    updated_at = <Date 2008-07-20.11:26:37.958>
    user = 'https://github.com/irmen'

    bugs.python.org fields:

    activity = <Date 2008-07-20.11:26:37.958>
    actor = 'georg.brandl'
    assignee = 'jlgijsbers'
    closed = True
    closed_date = <Date 2008-07-20.11:26:37.960>
    closer = 'georg.brandl'
    components = ['Library (Lib)']
    creation = <Date 2003-11-10.20:42:43.000>
    creator = 'irmen'
    dependencies = []
    files = ['5678', '5679']
    hgrepos = []
    issue_num = 839496
    keywords = ['patch', 'easy']
    message_count = 11.0
    messages = ['44870', '44871', '44872', '44873', '44874', '44875', '44876', '68140', '69332', '69355', '70081']
    nosy_count = 6.0
    nosy_names = ['georg.brandl', 'jlgijsbers', 'irmen', 'amaury.forgeotdarc', 'ggenellina', 'bluebird']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue839496'
    versions = ['Python 2.6', 'Python 2.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      easystdlibStandard Library Python modules in the Lib/ directory
      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