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.seek(0)
|
||||||
ctl.write('url '+self.url)
|
ctl.write('url '+self.url)
|
||||||
m = ''
|
m = ''
|
||||||
for h,v in req.headers:
|
for h in req.headers:
|
||||||
m += h+': '+v+'\r\n'
|
m += h+': '+req.headers[h]+'\r\n'
|
||||||
if len(m) > 0:
|
if len(m) > 0:
|
||||||
m = 'headers '+m
|
m = 'headers '+m
|
||||||
print m
|
print m
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue