diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-09-17 21:15:15 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-09-17 21:15:15 +0300 |
commit | 23215c839f0b00c288b6556ce405b0e54f4f50ae (patch) | |
tree | 0c32cd31d6aee4b9be5197c1cb9e871d4bbcfe30 /test/unit | |
parent | 6352c21a58d66db99f8f981c37e6d57e62fc24a2 (diff) | |
download | unit-23215c839f0b00c288b6556ce405b0e54f4f50ae.tar.gz unit-23215c839f0b00c288b6556ce405b0e54f4f50ae.tar.bz2 |
Tests: head() method introduced.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/http.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/http.py b/test/unit/http.py index c0af8a9e..01611221 100644 --- a/test/unit/http.py +++ b/test/unit/http.py @@ -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) |