diff options
| author | Drahflow <drahflow@gmx.de> | 2017-03-06 08:03:36 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2017-03-06 08:03:36 +0100 |
| commit | 54029d848bfd7bc0972da2ba46589997fa214238 (patch) | |
| tree | 72a09c599a45e8220dd05df205c1375fc0e8707a /examples/working-loaded/httpServer.test | |
| parent | 92ee378b02c8e28c04843d1c936d7aeb702766a8 (diff) | |
Handle POST requests more robustly
Diffstat (limited to 'examples/working-loaded/httpServer.test')
| -rw-r--r-- | examples/working-loaded/httpServer.test | 3 |
1 files changed, 3 insertions, 0 deletions
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 } { "<html><body>Test!</body></html>" "text/html" :ok + } { :url "/post" eq } { + "<html><body>" :body "</body></html>" cat cat + "text/html" :ok } ] conds } +request |
