From 6af46199288cf8e9eefc6f09fda1fb628671a926 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 12 Aug 2008 19:04:51 -0700 Subject: [PATCH] test_web: oops, actually use HEAD (instead of GET) in the HEAD test --- src/allmydata/test/test_web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index b794f8d4..9173c553 100644 --- 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 -- 2.45.2