Re: [Python-Dev] [Python-checkins] cpython (merge 3.3 -> default): Fix http.server's request handling case on trailing '/'.

2013年9月29日 19:02:11 -0700

On Fri, Sep 13, 2013 at 7:49 AM, Eric V. Smith <[email protected]> wrote:
>> Patch contributed by Vajrasky Kok. Addresses Issue #17324
>
>> + trailing_slash = True if path.rstrip().endswith('/') else False
>
> Wouldn't this be better just as:
> trailing_slash = path.rstrip().endswith('/')
I noticed this email late. Corrected it now.
Thanks,
Senthil
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to