Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0bf0720
)
python: Fixed typo.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 30 Aug 2012 03:13:15 +0000
(
05:13
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 30 Aug 2012 03:13:15 +0000
(
05:13
+0200)
python/ashd-wsgi
patch
|
blob
|
blame
|
history
diff --git
a/python/ashd-wsgi
b/python/ashd-wsgi
index
f20d6ca
..
46cf85c
100755
(executable)
--- a/
python/ashd-wsgi
+++ b/
python/ashd-wsgi
@@
-137,7
+137,7
@@
def dowsgi(req):
del env["HTTP_CONTENT_TYPE"]
if "Content-Length" in req:
env["CONTENT_LENGTH"] = req["Content-Length"]
del env["HTTP_CONTENT_TYPE"]
if "Content-Length" in req:
env["CONTENT_LENGTH"] = req["Content-Length"]
- del env["HTTP_CONTENT_
TYPE
"]
+ del env["HTTP_CONTENT_
LENGTH
"]
if "X-Ash-File" in req: env["SCRIPT_FILENAME"] = absolutify(req["X-Ash-File"])
if "X-Ash-Protocol" in req: env["wsgi.url_scheme"] = req["X-Ash-Protocol"]
env["wsgi.input"] = req.sk
if "X-Ash-File" in req: env["SCRIPT_FILENAME"] = absolutify(req["X-Ash-File"])
if "X-Ash-Protocol" in req: env["wsgi.url_scheme"] = req["X-Ash-Protocol"]
env["wsgi.input"] = req.sk