From 410144c579bcb7abfc5efd0e3a2ed6a75a4bd61c Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 25 Jul 2012 11:36:19 +1200 Subject: Add examples for each preview form. --- libpathod/templates/request_previewform.html | 36 ++++++++++++++++++++++++++ libpathod/templates/response_previewform.html | 37 +++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) (limited to 'libpathod') diff --git a/libpathod/templates/request_previewform.html b/libpathod/templates/request_previewform.html index a7130da0..c09ae018 100644 --- a/libpathod/templates/request_previewform.html +++ b/libpathod/templates/request_previewform.html @@ -9,3 +9,39 @@ > + +more examples... +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
get:/Get path /
get:/:b@100100 random bytes as the body
get:/:h"User-Agent"="';drop table browsers;"Add a User-Agent header
get:/:b@100:drDrop the connection randomly
get:/:b@100,ascii:ir,@1100 ASCII bytes as the body, and randomly inject a random byte
+
diff --git a/libpathod/templates/response_previewform.html b/libpathod/templates/response_previewform.html index a82535e4..93d5960a 100644 --- a/libpathod/templates/response_previewform.html +++ b/libpathod/templates/response_previewform.html @@ -12,6 +12,43 @@ go to {% endif %} + +more examples... +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
200A basic HTTP 200 response
200:b@100100 random bytes as the body
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
+
+