Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35ec15
)
Corrected htredir headers.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 15 Jan 2011 05:23:29 +0000
(06:23 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 15 Jan 2011 05:23:29 +0000
(06:23 +0100)
python/htredir
patch
|
blob
|
blame
|
history
diff --git
a/python/htredir
b/python/htredir
index
1a54bee
..
f0e9070
100755
(executable)
--- a/
python/htredir
+++ b/
python/htredir
@@
-31,8
+31,8
@@
if len(args) != 4:
usage(sys.stderr)
sys.exit(1)
target, method, url, rest = args
-scheme = os.getenv("
HTTP
_X_ASH_PROTOCOL")
-host = os.getenv("
HTTP
_HOST")
+scheme = os.getenv("
REQ
_X_ASH_PROTOCOL")
+host = os.getenv("
REQ
_HOST")
me = url
if me[-len(rest):] == rest:
me = me[:-len(rest)]