popcorn: test test_example_query_string with pop_tests
[nit.git] / lib / popcorn / examples / handlers / test_example_query_string.sav / test_example_query_string.res
diff --git a/lib/popcorn/examples/handlers/test_example_query_string.sav/test_example_query_string.res b/lib/popcorn/examples/handlers/test_example_query_string.sav/test_example_query_string.res
new file mode 100644 (file)
index 0000000..699b0db
--- /dev/null
@@ -0,0 +1,24 @@
+
+[Client] curl -s localhost:*****/
+URI: /
+Query string: 
+
+[Client] curl -s localhost:*****/?user=Morriar
+URI: /
+Query string: user=Morriar
+user: Morriar
+
+[Client] curl -s localhost:*****/?reload
+URI: /
+Query string: reload
+
+[Client] curl -s localhost:*****/?foo\&bar=baz
+URI: /
+Query string: foo&bar=baz
+bar: baz
+
+[Client] curl -s localhost:*****/?items=10\&order=asc
+URI: /
+Query string: items=10&order=asc
+items: 10
+order: asc