From b193f7503842ed803e0bcedfbbfc45d1b6b7d9c0 Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Mon, 12 Oct 2020 16:00:06 +0200 Subject: Improve README documentation, add a LICENSE file and add test case --- tests/kong.py | 2 +- tests/test.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/kong.py b/tests/kong.py index 4e2df28..a1f9cec 100755 --- a/tests/kong.py +++ b/tests/kong.py @@ -13,7 +13,7 @@ class SimpleHTTPRequestHandler(CGIHTTPRequestHandler): self.wfile.write(b'{ "data": [] }') def do_POST(self): - self.send_response(200) + self.send_response(201) self.end_headers() self.wfile.write(b'Hello, world!') diff --git a/tests/test.yml b/tests/test.yml index 36c81a2..cbe858f 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -10,3 +10,6 @@ services: - url: http://example.com name: test + routes: + - hosts: [my.kong.example] + paths: [/] -- cgit v1.2.3