changeset 9939 | 46a8ed48636f |
parent 9735 | b71158815bc8 |
child 9940 | 292f786009ba |
--- a/wsgi/request.py Tue Jul 29 16:26:09 2014 +0200 +++ b/wsgi/request.py Thu Jul 24 20:53:21 2014 +0200 @@ -59,6 +59,8 @@ headers_in = dict((normalize_header(k[5:]), v) for k, v in self.environ.items() if k.startswith('HTTP_')) + if 'CONTENT_TYPE' in environ: + headers_in['Content-Type'] = environ['CONTENT_TYPE'] https = environ.get("HTTPS") in ('yes', 'on', '1') post, files = self.get_posted_data()