From d33d3663ecb166461d9cb5a78a29b44ee7a8fbb7 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 18 Feb 2016 13:03:40 +0100 Subject: combine projects --- pathod/templates/response_previewform.html | 87 ++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 pathod/templates/response_previewform.html (limited to 'pathod/templates/response_previewform.html') diff --git a/pathod/templates/response_previewform.html b/pathod/templates/response_previewform.html new file mode 100644 index 00000000..d46043f3 --- /dev/null +++ b/pathod/templates/response_previewform.html @@ -0,0 +1,87 @@ +
+ + + {% if not nocraft %} + go + {% endif %} +
+ +examples + +
+

+ Check out the complete language docs. Here are + some examples to get you started: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
200A basic HTTP 200 response.
200:rA basic HTTP 200 response with no Content-Length header. This will + hang. +
200:daServer-side disconnect after all content has been sent.
200:b@100 + 100 random bytes as the body. A Content-Lenght header is added, so the disconnect + is no longer needed. +
200:b@100:h"Etag"="';drop table servers;"Add a Server header
200:b@100:drDrop the connection randomly
200:b@100,ascii:ir,@1100 ASCII bytes as the body, and randomly inject a random byte
200:b@1k:c"text/json"1k of random bytes, with a text/json content type
200:b@1k:p50,1201k of random bytes, pause for 120 seconds after 50 bytes
200:b@1k:pr,f1k of random bytes, but hang forever at a random location
+ 200:b@100:h@1k,ascii_letters='foo' + + 100 ASCII bytes as the body, randomly generated 100k header name, with the value + 'foo'. +
+
+ +{% if not nocraft %} + +{% endif %} -- cgit v1.2.3