]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blobdiff - tests/kong.py
Improve README documentation, add a LICENSE file and add test case
[github/fretlink/ansible-kong-app.git] / tests / kong.py
index 4e2df2803103b64441089102865dddc25de45e68..a1f9cecee4e17043d4e827a25478c5f3f39c426b 100755 (executable)
@@ -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!')