hgfs: fix mistake
This commit is contained in:
parent
51f8743f76
commit
e86a1f3fbe
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue