{"id":13483431,"url":"https://github.com/ysbaddaden/http2","last_synced_at":"2025-04-26T16:32:15.080Z","repository":{"id":66263903,"uuid":"51670579","full_name":"ysbaddaden/http2","owner":"ysbaddaden","description":"HTTP/2 Protocol Implementation for the Crystal Language","archived":false,"fork":false,"pushed_at":"2020-04-21T12:35:59.000Z","size":150,"stargazers_count":95,"open_issues_count":2,"forks_count":9,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-04T16:12:26.851Z","etag":null,"topics":["crystal","hpack","http","http2"],"latest_commit_sha":null,"homepage":null,"language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ysbaddaden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-02-13T23:22:42.000Z","updated_at":"2024-07-24T03:03:44.000Z","dependencies_parsed_at":"2023-06-12T19:00:25.961Z","dependency_job_id":null,"html_url":"https://github.com/ysbaddaden/http2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysbaddaden%2Fhttp2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysbaddaden%2Fhttp2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysbaddaden%2Fhttp2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysbaddaden%2Fhttp2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysbaddaden","download_url":"https://codeload.github.com/ysbaddaden/http2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251017752,"owners_count":21523633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crystal","hpack","http","http2"],"created_at":"2024-07-31T17:01:11.174Z","updated_at":"2025-04-26T16:32:14.635Z","avatar_url":"https://github.com/ysbaddaden.png","language":"Crystal","readme":"# HTTP\n\nA pure Crystal (but incomplete) implementation of the HTTP/2 protocol.\n\nRequires OpenSSL 1.1 or above to support ALPN protocol negotiation, which is\nrequired for HTTP/2 over secure connections.\n\n## TODO\n\n- [x] HPACK (including DH compression)\n- [x] HTTP/2 connection, streams, frames, ...\n- [x] HTTP/2 flow control (in/out, whole-connection, per-stream)\n- [ ] HTTP/2 priority\n- [x] support HTTP/2 server connections\n- [x] ~~integrate transparently into `HTTP::Server`~~ (broken)\n- [ ] ~~integrate into `HTTP::Server::Context` (http version, server-push)~~\n- [x] support HTTP/2 client connections\n- [ ] ~~integrate into `HTTP::Client`~~\n\n- [x] HPACK tests (HTTP/2 protocol, ...)\n- [ ] HTTP/2 server unit tests (HTTP/2 protocol, ...)\n- [ ] HTTP/2 client unit tests (HTTP/2 protocol, ...)\n- [x] h2spec\n\n## Tests\n\nBuild and run the `bin/server` server, then launch\n[h2spec](https://github.com/summerwind/h2spec/releases).\n\n```sh\n$ make bin/server\n```\n\nTest against HTTP:\n```\n$ bin/server\n$ ./h2spec -p 9292 -S\n```\n\nTest against HTTPS:\n```sh\n$ TLS=true bin/server\n$ ./h2spec -p 9292 -k -t -S\n```\n\n## RFC\n\n### HTTP/2\n\n- rfc7540 HTTP/2\n- rfc7541 HPACK Header Compression for HTTP/2\n\n### HTTP/1\n\n- rfc1945 HTTP/1.0 (informational)\n- rfc2616 HTTP/1.1 (obsolete)\n- rfc7230 HTTP/1.1 Message Syntax and Routing\n- rfc7231 HTTP/1.1 Semantics and Content\n- rfc7232 HTTP/1.1 Conditional Requests\n- rfc7233 HTTP/1.1 Range Requests\n- rfc7234 HTTP/1.1 Caching\n- rfc7235 HTTP/1.1 Authentification\n","funding_links":[],"categories":["HTTP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysbaddaden%2Fhttp2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysbaddaden%2Fhttp2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysbaddaden%2Fhttp2/lists"}