diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-11-12 15:53:56 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-11-19 12:44:14 +0000 |
commit | e9e0ee39de0c5ee1143edf495908820eb31e116a (patch) | |
tree | 32c4634a5560d75e63c90e032f92c58b5d004b76 /test/functional/util | |
parent | 3ec55e1bcb675fb2affcd4977e9517054c9a5342 (diff) | |
download | rspamd-e9e0ee39de0c5ee1143edf495908820eb31e116a.tar.gz rspamd-e9e0ee39de0c5ee1143edf495908820eb31e116a.zip |
[Test] Start write tests for external maps
Diffstat (limited to 'test/functional/util')
-rwxr-xr-x | test/functional/util/dummy_http.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/util/dummy_http.py b/test/functional/util/dummy_http.py index 4bec24119..c683d66a2 100755 --- a/test/functional/util/dummy_http.py +++ b/test/functional/util/dummy_http.py @@ -89,6 +89,9 @@ class MyHandler(http.server.BaseHTTPRequestHandler): if self.path == "/content-length": self.send_header("Content-Length", str(len(response))) + if self.path == "/map-simple": + response = "hello" + self.send_header("Content-type", "text/plain") self.end_headers() self.wfile.write(response) |