Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
begemoth mannequin opened this issue Mar 6, 2008 · 2 comments
Closed

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

begemoth mannequin opened this issue Mar 6, 2008 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@begemoth
Copy link
Mannequin

begemoth mannequin commented Mar 6, 2008

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']

@begemoth
Copy link
Mannequin Author

begemoth mannequin commented Mar 6, 2008

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.

@begemoth begemoth mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Mar 6, 2008
@jafo jafo mannequin assigned birkenfeld Mar 20, 2008
@birkenfeld
Copy link
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.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant