Skip to content

urllib2. strange behavior for getting chuncked transfer-ecnoded data #46496

Closed

Description

@begemoth
mannequin
BPO 2243
Nosy @birkenfeld

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 = 'https://github.com/birkenfeld'
closed_at = <Date 2008-05-12.17:07:11.493>
created_at = <Date 2008-03-06.10:17:02.538>
labels = ['type-bug', 'library']
title = 'urllib2. strange behavior for getting chuncked transfer-ecnoded data'
updated_at = <Date 2008-05-12.17:07:11.492>
user = 'https://bugs.python.org/begemoth'

bugs.python.org fields:

activity = <Date 2008-05-12.17:07:11.492>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-05-12.17:07:11.493>
closer = 'georg.brandl'
components = ['Library (Lib)']
creation = <Date 2008-03-06.10:17:02.538>
creator = 'begemoth'
dependencies = []
files = []
hgrepos = []
issue_num = 2243
keywords = []
message_count = 2.0
messages = ['63316', '64264']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'begemoth']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue2243'
versions = ['Python 2.5']

Activity

  1. begemoth commented on Mar 6, 2008

    begemothmannequin
    MannequinAuthor

    Through urllib2 open web pages from some sites (www.rbc.ru, www.rambler.ru, www.yandex.ru). Their servers send data in chuncked transfer-encoding. httplib (which is used by urllib2) "unchunk" data but I recieve "transfer-encoding: chuncked" in response header nevertheless. It seems to me that this key in header need to be removed from the header if httplib "unchuncked" the data.

  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    type-bugAn unexpected behavior, bug, or error
    on Mar 6, 2008
  3. birkenfeld commented on Mar 21, 2008

    @birkenfeld
    Member

    I don't think we should change this -- it sounds like gratuitous
    breakage to me, and I also don't see the reason why httplib should throw
    away an HTTP header just because the user isn't likely to need it.

  4. 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

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions