diff options
author | ianb <devnull@localhost> | 2006-11-26 17:18:57 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-11-26 17:18:57 +0000 |
commit | 5db5ea85e5f6748a2d75ab65ca48d3537a0eb025 (patch) | |
tree | 6999b404d7af89ed8aef744b44e3a8512583dddb /paste/request.py | |
parent | 91541f9194baf695ba94a9117537186f074951e3 (diff) | |
download | paste-5db5ea85e5f6748a2d75ab65ca48d3537a0eb025.tar.gz |
Fix last commit (CONTENT_TYPE), news
Diffstat (limited to 'paste/request.py')
-rw-r--r-- | paste/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/request.py b/paste/request.py index 63941cc..06612e0 100644 --- a/paste/request.py +++ b/paste/request.py @@ -149,7 +149,7 @@ def parse_formvars(environ, include_get_vars=True): # fake_out_cgi requests type = environ.get('CONTENT_TYPE', '').lower() if ';' in type: - type = type.split(';', 1) + type = type.split(';', 1)[0] fake_out_cgi = (type not in ('', 'application/x-www-form-urlencoded') and not type.startswith('multipart/form-data')) # Prevent FieldStorage from parsing QUERY_STRING during GET/HEAD |