summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-xLib/cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index 97ecbbb..5493092 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -802,7 +802,7 @@ class FieldStorage:
headers = {'content-type':
"application/x-www-form-urlencoded"}
if headers is None:
- headers = {}
+ headers = {'content-type': "application/x-www-form-urlencoded"}
if environ.has_key('CONTENT_TYPE'):
headers['content-type'] = environ['CONTENT_TYPE']
if environ.has_key('CONTENT_LENGTH'):