{"id":28424115,"url":"https://github.com/unetworking/h1spec","last_synced_at":"2025-06-14T08:10:09.338Z","repository":{"id":259618414,"uuid":"878675948","full_name":"uNetworking/h1spec","owner":"uNetworking","description":"Quick and easy HTTP/1.1 server spec. compliance check","archived":false,"fork":false,"pushed_at":"2024-10-27T23:28:44.000Z","size":585,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T09:43:38.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uNetworking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-25T20:51:40.000Z","updated_at":"2025-04-12T21:57:04.000Z","dependencies_parsed_at":"2024-10-27T23:33:23.529Z","dependency_job_id":null,"html_url":"https://github.com/uNetworking/h1spec","commit_stats":null,"previous_names":["unetworking/h1spec"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uNetworking/h1spec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2Fh1spec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2Fh1spec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2Fh1spec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2Fh1spec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uNetworking","download_url":"https://codeload.github.com/uNetworking/h1spec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2Fh1spec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259783068,"owners_count":22910301,"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":[],"created_at":"2025-06-05T09:36:29.768Z","updated_at":"2025-06-14T08:10:09.332Z","avatar_url":"https://github.com/uNetworking.png","language":"TypeScript","readme":"# h1spec\nQuick and easy HTTP/1.1 server spec. compliance check that finishes in less than a second.\n\n## Compliances as of 28th Oct 2024\n| Deno     | Node.js     | Bun     | uWS | mrhttp\n|--------------|--------------|--------------|---------|-------|\n| 31/33 | 32/33 | 32/33 | 33/33 | 17/33 |\n\n\n### How to run\nTo run all tests against Deno, Nodejs and Bun, just hit `make` (runs on Linux and macOS).\n\nFor a specific server, run `deno run --allow-net http_test.ts localhost 8000` if the server is listening at localhost:8000. The server must echo back whatever HTTP body it gets, for all HTTP methods.\n\n### Example output\n```\n✅ Missing Host header: Response Status Code 400, Expected ranges: [[400,499]]\n✅ Overflowing negative Content-Length header: Response Status Code 400, Expected ranges: [[400,499]]\n✅ Non-numeric Content-Length header: Response Status Code 400, Expected ranges: [[400,499]]\n✅ Header containing invalid control character: Response Status Code 400, Expected ranges: [[400,499]]\n✅ Invalid prefix of request: Response Status Code 400, Expected ranges: [[400,499],[500,599]]\n✅ Valid POST request with body: Response Status Code 200, Expected ranges: [[200,299],[404,404]]\n✅ Conflicting Transfer-Encoding and Content-Length in varying case: Response Status Code 400, Expected ranges: [[400,499],[200,299]]\n✅ Request without HTTP version: Response Status Code 400, Expected ranges: [[400,599]]\n✅ Request with Expect header: Response Status Code 100, Expected ranges: [[100,100],[200,299]]\n✅ Valid GET request: Response Status Code 200, Expected ranges: [[200,299]]\n✅ Valid GET request with edge cases: Response Status Code 200, Expected ranges: [[200,299]]\n✅ Invalid header characters: Response Status Code 400, Expected ranges: [[400,499]]\n❌ Multiple Host headers: Response Status Code 200, Expected ranges: [[400,499]]\n✅ Negative Content-Length header: Response Status Code 400, Expected ranges: [[400,499]]\n✅ Empty header value: Response Status Code 200, Expected ranges: [[200,299]]\n✅ Invalid HTTP version: Response Status Code 400, Expected ranges: [[400,499],[500,599]]\n✅ Invalid line ending: Response Status Code 400, Expected ranges: [[400,499]]\n✅ Chunked Transfer-Encoding: Response Status Code 200, Expected ranges: [[200,299]]\n✅ Fragmented HTTP version: Server waited successfully\n✅ Fragmented field name: Server waited successfully\n✅ Fragmented method: Server waited successfully\n✅ Fragmented URL 1: Server waited successfully\n✅ Fragmented URL 2: Server waited successfully\n✅ Fragmented URL 3: Server waited successfully\n✅ Fragmented request line: Server waited successfully\n✅ Fragmented request line newline 1: Server waited successfully\n✅ Fragmented request line newline 2: Server waited successfully\n✅ Fragmented field value 1: Server waited successfully\n✅ Fragmented field value 2: Server waited successfully\n✅ Fragmented field value 3: Server waited successfully\n✅ Fragmented field value 4: Server waited successfully\n✅ Fragmented request: Server waited successfully\n✅ Fragmented request termination: Server waited successfully\n\n32 out of 33 tests passed.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funetworking%2Fh1spec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funetworking%2Fh1spec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funetworking%2Fh1spec/lists"}