Home

Awesome

HTTP

A pure Crystal (but incomplete) implementation of the HTTP/2 protocol.

Requires OpenSSL 1.1 or above to support ALPN protocol negotiation, which is required for HTTP/2 over secure connections.

TODO

Tests

Build and run the bin/server server, then launch h2spec.

$ make bin/server

Test against HTTP:

$ bin/server
$ ./h2spec -p 9292 -S

Test against HTTPS:

$ TLS=true bin/server
$ ./h2spec -p 9292 -k -t -S

RFC

HTTP/2

HTTP/1