Various minor updates (amnesia)

This commit is contained in:
Jonas Juselius
2020-09-29 20:42:00 +02:00
parent 31f5b7f953
commit deb41300a6
12 changed files with 118 additions and 3 deletions

12
old/scripts/ws-curl.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
host=$1; shift
curl -i -N \
-H "Connection: upgrade"\
-H "Upgrade: websocket"\
-H "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ=="\
-H "Sec-WebSocket-Version: 13"\
-H "Origin: http://foo.com/"\
-H "Host: $host" $@