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 | nirs |
|---|---|
| Recipients | nirs |
| Date | 2007年08月24日.13:33:44 |
| SpamBayes Score | 0.0022615045 |
| Marked as misclassified | No |
| Message-id | <1187962425.36.0.406803838673.issue1011@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
In http://docs.python.org/lib/message-objects.html, getheader doc say: "Like getrawheader(name), but strip leading and trailing whitespace. Internal whitespace is not stripped. The optional default argument can be used to specify a different default to be returned when there is no header matching name." However, getheader is not like getrawheader. getheader return the *last* header seen, using the message dict. getrawheader retruns the *first* header line seen, searching through the list of parsed header lines. The text should also note that getheader is faster and the preferred way to get parsed headers. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007年08月24日 13:33:45 | nirs | set | spambayes_score: 0.0022615 -> 0.0022615045 recipients: + nirs |
| 2007年08月24日 13:33:45 | nirs | set | spambayes_score: 0.0022615 -> 0.0022615 messageid: <1187962425.36.0.406803838673.issue1011@psf.upfronthosting.co.za> |
| 2007年08月24日 13:33:45 | nirs | link | issue1011 messages |
| 2007年08月24日 13:33:44 | nirs | create | |