summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/lib/python/hgext/hgwebfs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/python/hgext/hgwebfs.py b/sys/lib/python/hgext/hgwebfs.py
index ab6d95319..459765a57 100644
--- a/sys/lib/python/hgext/hgwebfs.py
+++ b/sys/lib/python/hgext/hgwebfs.py
@@ -12,8 +12,8 @@ class Webconn:
ctl.seek(0)
ctl.write('url '+self.url)
m = ''
- for h,v in req.headers:
- m += h+': '+v+'\r\n'
+ for h in req.headers:
+ m += h+': '+req.headers[h]+'\r\n'
if len(m) > 0:
m = 'headers '+m
print m