Tests: head() method introduced.

This commit is contained in:
Andrey Zelenkov
2019-09-17 21:15:15 +03:00
parent 6352c21a58
commit 23215c839f

View File

@@ -118,6 +118,9 @@ class TestHTTP(TestUnit):
def get(self, **kwargs):
return self.http('GET', **kwargs)
def head(self, **kwargs):
return self.http('HEAD', **kwargs)
def post(self, **kwargs):
return self.http('POST', **kwargs)