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.

Author petri.lehtinen
Recipients ezio.melotti, orsenthil, petri.lehtinen, rohini, stachjankowski
Date 2011-11-22.12:19:27
SpamBayes Score 1.8838975e-05
Marked as misclassified No
Message-id <1321964367.8.0.0216065306061.issue13425@psf.upfronthosting.co.za>
In-reply-to
Content
getallmatchinheaders() is not documented, i.e. it's not part of the public API. Furthermore, it's only used by http.server.CGIHTTPRequestHandler, and the comment above it even says that it should be moved there.

There are three options now:
1) Document the function to make it officially part of the public API
2) Rename and move the function to http.server
3) Leave it undocumented and just fix it

In any case, the first thing that should be done is to add a test for CGIHTTPRequestHandler that fails with the current (broken) getallmatchinheaders() implementation.
History
Date User Action Args
2011-11-22 12:19:27petri.lehtinensetrecipients: + petri.lehtinen, orsenthil, ezio.melotti, stachjankowski, rohini
2011-11-22 12:19:27petri.lehtinensetmessageid: <1321964367.8.0.0216065306061.issue13425@psf.upfronthosting.co.za>
2011-11-22 12:19:27petri.lehtinenlinkissue13425 messages
2011-11-22 12:19:27petri.lehtinencreate