homepage

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 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:56jeliesetrecipients: + jelie, rhettinger, pitrou, r.david.murray
2010年11月03日 17:55:55jeliesetmessageid: <1288806955.85.0.708016176321.issue10281@psf.upfronthosting.co.za>
2010年11月03日 17:55:54jelielinkissue10281 messages
2010年11月03日 17:55:53jeliecreate

AltStyle によって変換されたページ (->オリジナル) /