Author jelie
Recipients jelie, pitrou, r.david.murray, rhettinger
Date 2010-11-03.17:55:53
SpamBayes Score 0.000375993
Marked as misclassified No
Message-id <>
> 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!
Date User Action Args
2010-11-03 17:55:56jeliesetrecipients: + jelie, rhettinger, pitrou, r.david.murray
2010-11-03 17:55:55jeliesetmessageid: <>
2010-11-03 17:55:54jelielinkissue10281 messages
2010-11-03 17:55:53jeliecreate