This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [DOC] asyncore - use 'Host' header in HTTP example
Type: Stage: patch review
Components: Documentation Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, georg.brandl, giampaolo.rodola, sandro.tosi
Priority: low Keywords: patch

Created on 2011-02-16 23:26 by sandro.tosi, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
asyncore-use-host-header-py3k.patch sandro.tosi, 2011-02-16 23:26
Messages (3)
msg128700 - (view) Author: Sandro Tosi (sandro.tosi) * (Python committer) Date: 2011-02-16 23:26
Hi, following up http://mail.python.org/pipermail/docs/2011-February/003096.html I wrote a patch to introduce the 'Host' header in the HTTP example of asyncore doc. I've also fixed an indentation error with the last 2 lines of the same example (simple cut&paste would fail with "unexpected intentantion").

Given it's a doc issue, and it quite easy, I think it should be backported to the current on-maintainence releases (the example fails on all of them).
msg128705 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2011-02-17 00:37
Patch looks fine to me.
msg130156 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2011-03-06 10:05
Fixed in b630a135a86c.
History
Date User Action Args
2022-04-11 14:57:13adminsetgithub: 55436
2011-03-06 10:05:10georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg130156

resolution: fixed
2011-02-23 18:44:11sandro.tosisetassignee: sandro.tosi -> docs@python

nosy: + docs@python
2011-02-17 00:37:57giampaolo.rodolasetnosy: giampaolo.rodola, sandro.tosi
messages: + msg128705
2011-02-16 23:46:10pitrousetnosy: + giampaolo.rodola
2011-02-16 23:26:28sandro.tosicreate