projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d6b504
)
test_web: oops, actually use HEAD (instead of GET) in the HEAD test
author
Brian Warner
<warner@allmydata.com>
Wed, 13 Aug 2008 02:04:51 +0000
(19:04 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 13 Aug 2008 02:04:51 +0000
(19:04 -0700)
src/allmydata/test/test_web.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_web.py
b/src/allmydata/test/test_web.py
index b794f8d4dbc9dbb0b84d3a9a6bddae4f6f2da997..9173c55381d479f9c670447208da325e0e43bcf0 100644
(file)
--- a/
src/allmydata/test/test_web.py
+++ b/
src/allmydata/test/test_web.py
@@
-227,7
+227,7
@@
class WebMixin(object):
def HEAD(self, urlpath):
# this requires some surgery, because twisted.web.client doesn't want
# to give us back the response headers.
- factory = HTTPClientHEADFactory(urlpath)
+ factory = HTTPClientHEADFactory(urlpath
, method="HEAD"
)
reactor.connectTCP("localhost", self.webish_port, factory)
return factory.deferred