From 54029d848bfd7bc0972da2ba46589997fa214238 Mon Sep 17 00:00:00 2001 From: Drahflow Date: Mon, 6 Mar 2017 08:03:36 +0100 Subject: Handle POST requests more robustly --- examples/working-loaded/httpServer.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/working-loaded') diff --git a/examples/working-loaded/httpServer.test b/examples/working-loaded/httpServer.test index 47ff274..781364c 100644 --- a/examples/working-loaded/httpServer.test +++ b/examples/working-loaded/httpServer.test @@ -9,6 +9,9 @@ net .alg .httpServer "+" via } { :url "/test" eq } { "Test!" "text/html" :ok + } { :url "/post" eq } { + "" :body "" cat cat + "text/html" :ok } ] conds } +request -- cgit v1.2.3