WebSockets
#
HTTP/1.1 200 Oblivious
Server: test-server/fake
Something: else
Content-Length: 6
hello
#
# Client-side
# require debug for the forced CURL_ENTROPY
debug
ws
http
WebSockets but gets a 200 back
lib2302
ws://%HOSTIP:%HTTPPORT/%TESTNUMBER
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: webbie-sox/3
Accept: */*
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: NDMyMTUzMjE2MzIxNzMyMQ==
# 22 == CURLE_HTTP_RETURNED_ERROR
22