Skip to content

Instantly share code, notes, and snippets.

@vti
Created October 30, 2010 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vti/16953a823fe4b9d0eb01 to your computer and use it in GitHub Desktop.
Save vti/16953a823fe4b9d0eb01 to your computer and use it in GitHub Desktop.
< GET / HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: 127.0.0.1:3000
Origin: http://127.0.0.1:3000
Sec-WebSocket-Key1: b229016 '2 bX=] 30o oq 1w
Sec-WebSocket-Key2: . 1 39 5 66m 12 24
#Z&t#'#
Sat Oct 30 20:09:30 2010 debug Mojolicious:192 [3570]: GET / (Anonymojo).
Sat Oct 30 20:09:30 2010 debug MojoX::Dispatcher::Routes:101 [3570]: Dispatching callback.
Sat Oct 30 20:09:30 2010 debug Mojolicious::Plugin::RequestTimer:35 [3570]: 101 WebSocket Protocol Handshake (0.000671s, 1490.313/s).
Use of uninitialized value $values in join or string at /usr/local/lib/perl5/site_perl/5.12.0/Mojo/Headers.pm line 119.
Use of uninitialized value $values in join or string at /usr/local/lib/perl5/site_perl/5.12.0/Mojo/Headers.pm line 119.
Use of uninitialized value $values in join or string at /usr/local/lib/perl5/site_perl/5.12.0/Mojo/Headers.pm line 119.
> HTTP/1.1 101 WebSocket Protocol Handshake
Connection: Upgrade
X-Powered-By: Mojolicious (Perl)
Date: Sat, 30 Oct 2010 18:09:30 GMT
Content-Length: 16
Sec-WebSocket-Origin: http://127.0.0.1:3000
Sec-WebSocket-Location: ws://127.0.0.1:3000/
Sec-WebSocket-Protocol:
Server: Mojolicious (Perl)
Upgrade: WebSocket
s1i####(##|jbW##
>
Sat Oct 30 20:09:30 2010 debug main:24 [3570]: Client disconnected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment