aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/request_previewform.html
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-22 15:49:17 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-22 15:49:17 +1200
commit99cb0808abfa3bd5bbc8d19c10756641c032dc48 (patch)
treef93b7a76f878eb17d5ef97787c01202559d70dc2 /libpathod/templates/request_previewform.html
parent65f04bf4d103ea7ab9307946ccc11a17de51d93f (diff)
downloadmitmproxy-99cb0808abfa3bd5bbc8d19c10756641c032dc48.tar.gz
mitmproxy-99cb0808abfa3bd5bbc8d19c10756641c032dc48.tar.bz2
mitmproxy-99cb0808abfa3bd5bbc8d19c10756641c032dc48.zip
websockets: server handshake scheme
Also refactor settings and resolution interfaces
Diffstat (limited to 'libpathod/templates/request_previewform.html')
-rw-r--r--libpathod/templates/request_previewform.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/libpathod/templates/request_previewform.html b/libpathod/templates/request_previewform.html
index 607bfefd..d3083735 100644
--- a/libpathod/templates/request_previewform.html
+++ b/libpathod/templates/request_previewform.html
@@ -1,5 +1,5 @@
<form style="margin-bottom: 0" class="form-inline" method="GET" action="/request_preview">
- <input
+ <input
style="width: 18em"
id="spec"
name="spec"
@@ -46,6 +46,10 @@
<td><a href="/request_preview?spec=get:/:b@100,ascii:ir,@1">get:/:b@100,ascii:ir,@1</a></td>
<td>100 ASCII bytes as the body, and randomly inject a random byte</td>
</tr>
+ <tr>
+ <td><a href="/request_preview?spec=ws:/">ws:/</a></td>
+ <td>Initiate a websocket handshake.</td>
+ </tr>
</tbody>
</table>
</div>