Dolda2000 GitWeb
/
wrw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into python2
[wrw.git]
/
wrw
/
req.py
diff --git
a/wrw/req.py
b/wrw/req.py
index
5fbc2fe
..
ebc3fd8
100644
(file)
--- a/
wrw/req.py
+++ b/
wrw/req.py
@@
-21,7
+21,7
@@
class headdict(object):
def __iter__(self):
return iter((list[0] for list in self.dict.itervalues()))
def __iter__(self):
return iter((list[0] for list in self.dict.itervalues()))
- def get(self, key, default
=
""):
+ def get(self, key, default
=
""):
if key.lower() in self.dict:
return self.dict[key.lower()][1]
return default
if key.lower() in self.dict:
return self.dict[key.lower()][1]
return default
@@
-230,6
+230,7
@@
class copyrequest(request):
self.https = p.https
self.ihead = p.ihead
self.ohead = p.ohead
self.https = p.https
self.ihead = p.ihead
self.ohead = p.ohead
+ self.input = p.input
def status(self, code, msg):
return self.parent.status(code, msg)
def status(self, code, msg):
return self.parent.status(code, msg)