[Python-Dev] [Python-checkins] cpython (merge 3.3 -> default): Fix http.server's request handling case on trailing '/'. (original) (raw)
Senthil Kumaran senthil at uthcode.com
Mon Sep 30 04:00:19 CEST 2013
- Previous message: [Python-Dev] [Python-checkins] cpython (merge 3.3 -> default): Fix http.server's request handling case on trailing '/'.
- Next message: [Python-Dev] PEP 455: TransformDict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Sep 13, 2013 at 7:49 AM, Eric V. Smith <eric at trueblade.com> wrote:
Patch contributed by Vajrasky Kok. Addresses Issue #17324
+ trailingslash = True if path.rstrip().endswith('/') else False Wouldn't this be better just as: trailingslash = path.rstrip().endswith('/')
I noticed this email late. Corrected it now.
Thanks, Senthil
- Previous message: [Python-Dev] [Python-checkins] cpython (merge 3.3 -> default): Fix http.server's request handling case on trailing '/'.
- Next message: [Python-Dev] PEP 455: TransformDict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]