summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-07-18 23:09:09 (GMT)
committerBarry Warsaw <barry@python.org>2002-07-18 23:09:09 (GMT)
commit7aeac9180e3d6df3d5db89ee7ff5941a81dc5a5d (patch)
tree0b729e7ad55be4cb686ce85bbdf9e0f8dfc8184d /Makefile.pre.in
parente21262ca9e286aee27741eb8bb69508a911ec10b (diff)
downloadcpython-7aeac9180e3d6df3d5db89ee7ff5941a81dc5a5d.zip
cpython-7aeac9180e3d6df3d5db89ee7ff5941a81dc5a5d.tar.gz
cpython-7aeac9180e3d6df3d5db89ee7ff5941a81dc5a5d.tar.bz2
Anthony Baxter's cleanup patch. Python project SF patch # 583190,
quoting: in non-strict mode, messages don't require a blank line at the end with a missing end-terminator. A single newline is sufficient now. Handle trailing whitespace at the end of a boundary. Had to switch from using string.split() to re.split() Handle whitespace on the end of a parameter list for Content-type. Handle whitespace on the end of a plain content-type header. Specifically, get_type(): Strip the content type string. _get_params_preserve(): Strip the parameter names and values on both sides. _parsebody(): Lots of changes as described above, with some stylistic changes by Barry (who hopefully didn't screw things up ;).
Diffstat (limited to 'Makefile.pre.in')
0 files changed, 0 insertions, 0 deletions