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: add HTTPResponse.getheaders()
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: jbelmonte, loewis
Priority: normal Keywords: patch

Created on 2003-09-04 05:28 by jbelmonte, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
HTTPResponse_getheaders.diff jbelmonte, 2003-09-04 05:28 patch to add HTTPResponse.getheaders()
Messages (2)
msg44573 - (view) Author: John Belmonte (jbelmonte) * Date: 2003-09-04 05:28
Here is a patch to Python 2.3b2+ to add a getheaders
method to class HTTPResponse in module httplib. 
Currently there is no way (using the public interface)
to discover response headers.  This is useful for
debugging, etc.
msg44574 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-08-18 12:46
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as

libhttplib.tex 1.37
httplib.py 1.87
NEWS 1.1102
History
Date User Action Args
2022-04-10 16:10:59adminsetgithub: 39178
2003-09-04 05:28:10jbelmontecreate