Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

in HTTPConnection the are len(body) and TypeError catch exception to detect if body is file like object, this hack do work with StringIO object #56536

Copy link
Copy link
@harobed

Description

@harobed
mannequin
Issue body actions
BPO 12327
Nosy @orsenthil, @bitdancer, @vadmium
Superseder
  • bpo-23350: Content-length is incorrect when request body is a list or tuple
  • 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-04-12.16:03:07.461>
    created_at = <Date 2011-06-13.17:50:08.772>
    labels = ['type-bug', 'library']
    title = 'in HTTPConnection the are len(body) and TypeError catch exception to detect if body is file like object, this hack do work with StringIO object'
    updated_at = <Date 2015-04-13.07:06:18.367>
    user = 'https://bugs.python.org/harobed'

    bugs.python.org fields:

    activity = <Date 2015-04-13.07:06:18.367>
    actor = 'martin.panter'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-04-12.16:03:07.461>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2011-06-13.17:50:08.772>
    creator = 'harobed'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 12327
    keywords = []
    message_count = 10.0
    messages = ['138264', '138272', '138275', '138276', '138358', '138368', '138692', '185930', '240562', '240589']
    nosy_count = 4.0
    nosy_names = ['orsenthil', 'r.david.murray', 'harobed', 'martin.panter']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '23350'
    type = 'behavior'
    url = 'https://bugs.python.org/issue12327'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    Reactions are currently unavailable

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn 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

        Morty Proxy This is a proxified and sanitized view of the page, visit original site.