Tests: head() method introduced.
This commit is contained in:
@@ -118,6 +118,9 @@ class TestHTTP(TestUnit):
|
|||||||
def get(self, **kwargs):
|
def get(self, **kwargs):
|
||||||
return self.http('GET', **kwargs)
|
return self.http('GET', **kwargs)
|
||||||
|
|
||||||
|
def head(self, **kwargs):
|
||||||
|
return self.http('HEAD', **kwargs)
|
||||||
|
|
||||||
def post(self, **kwargs):
|
def post(self, **kwargs):
|
||||||
return self.http('POST', **kwargs)
|
return self.http('POST', **kwargs)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user