Message120332
| Author |
jelie |
| Recipients |
jelie, pitrou, r.david.murray, rhettinger |
| Date |
2010年11月03日.17:55:53 |
| SpamBayes Score |
0.00037599253 |
| Marked as misclassified |
No |
| Message-id |
<1288806955.85.0.708016176321.issue10281@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Er, so you're disagreeing with your previous message?
> Or am I missing something? :)
I was saying that if an empty string is returned, then it means that the header exists and is empty. An example was "User-Agent: \r\n".
And my remark "I believe None is better." concerned your initial question "Should the field be totally absent [...]" regarding how to deal with a header that does not exist.
Therefore, "User-Agent: \r\n" becomes a real '', not None. None is only when the User-Agent: header field is absent from the headers.
> Here is a patch trying to better handle whitespace.
> Would it be ok for you?
Yes Antoine, thanks! |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月03日 17:55:56 | jelie | set | recipients:
+ jelie, rhettinger, pitrou, r.david.murray |
| 2010年11月03日 17:55:55 | jelie | set | messageid: <1288806955.85.0.708016176321.issue10281@psf.upfronthosting.co.za> |
| 2010年11月03日 17:55:54 | jelie | link | issue10281 messages |
| 2010年11月03日 17:55:53 | jelie | create |
|