diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-10-12 16:00:06 +0200 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-10-12 16:04:43 +0200 |
commit | b193f7503842ed803e0bcedfbbfc45d1b6b7d9c0 (patch) | |
tree | c7524e6ac5fb16e8da10c1ad24ed993664e8a261 /tests/kong.py | |
parent | da8563a557eaa7be2b2b42424bc86ee58550ffc1 (diff) | |
download | ansible-kong-app-b193f7503842ed803e0bcedfbbfc45d1b6b7d9c0.tar.gz ansible-kong-app-b193f7503842ed803e0bcedfbbfc45d1b6b7d9c0.tar.zst ansible-kong-app-b193f7503842ed803e0bcedfbbfc45d1b6b7d9c0.zip |
Improve README documentation, add a LICENSE file and add test case
Diffstat (limited to 'tests/kong.py')
-rwxr-xr-x | tests/kong.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
13 | self.wfile.write(b'{ "data": [] }') | 13 | self.wfile.write(b'{ "data": [] }') |
14 | 14 | ||
15 | def do_POST(self): | 15 | def do_POST(self): |
16 | self.send_response(200) | 16 | self.send_response(201) |
17 | self.end_headers() | 17 | self.end_headers() |
18 | self.wfile.write(b'Hello, world!') | 18 | self.wfile.write(b'Hello, world!') |
19 | 19 | ||