{"id":16848539,"url":"https://github.com/seanmonstar/httparse","last_synced_at":"2025-05-14T10:06:35.303Z","repository":{"id":27595376,"uuid":"31078679","full_name":"seanmonstar/httparse","owner":"seanmonstar","description":"A push parser for the HTTP 1.x protocol in Rust.","archived":false,"fork":false,"pushed_at":"2025-03-19T14:10:17.000Z","size":271,"stargazers_count":632,"open_issues_count":29,"forks_count":118,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-08T00:09:01.636Z","etag":null,"topics":["http","parse","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/httparse","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seanmonstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","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,"zenodo":null},"funding":{"github":["seanmonstar"]}},"created_at":"2015-02-20T18:35:34.000Z","updated_at":"2025-05-06T04:01:38.000Z","dependencies_parsed_at":"2024-02-06T14:59:32.414Z","dependency_job_id":"eab04dbc-9793-44a2-9e87-a9e0367c427b","html_url":"https://github.com/seanmonstar/httparse","commit_stats":{"total_commits":211,"total_committers":48,"mean_commits":4.395833333333333,"dds":0.6824644549763033,"last_synced_commit":"9f6702be571b19ac84e19678b0c4f7eefd2a11b7"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Fhttparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Fhttparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Fhttparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Fhttparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanmonstar","download_url":"https://codeload.github.com/seanmonstar/httparse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253342299,"owners_count":21893558,"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":["http","parse","rust"],"created_at":"2024-10-13T13:11:40.623Z","updated_at":"2025-05-14T10:06:35.280Z","avatar_url":"https://github.com/seanmonstar.png","language":"Rust","readme":"# httparse\n\n[![crates.io](https://img.shields.io/crates/v/httparse.svg)](https://crates.io/crates/httparse)\n[![Released API docs](https://docs.rs/httparse/badge.svg)](https://docs.rs/httparse)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE-MIT)\n[![CI](https://github.com/seanmonstar/httparse/workflows/CI/badge.svg)](https://github.com/seanmonstar/httparse/actions?query=workflow%3ACI)\n[![Discord chat][discord-badge]][discord-url]\n\nA push parser for the HTTP 1.x protocol. Avoids allocations. No copy. **Fast.**\n\nWorks with `no_std`, simply disable the `std` Cargo feature.\n\n[Changelog](https://github.com/seanmonstar/httparse/releases)\n\n\n[discord-badge]: https://img.shields.io/discord/500028886025895936.svg?logo=discord\n[discord-url]: https://discord.gg/kkwpueZ\n\n## Usage\n\n```rust\nlet mut headers = [httparse::EMPTY_HEADER; 64];\nlet mut req = httparse::Request::new(\u0026mut headers);\n\nlet buf = b\"GET /index.html HTTP/1.1\\r\\nHost\";\nassert!(req.parse(buf)?.is_partial());\n\n// a partial request, so we try again once we have more data\n\nlet buf = b\"GET /index.html HTTP/1.1\\r\\nHost: example.domain\\r\\n\\r\\n\";\nassert!(req.parse(buf)?.is_complete());\n```\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or https://apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","funding_links":["https://github.com/sponsors/seanmonstar"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmonstar%2Fhttparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanmonstar%2Fhttparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmonstar%2Fhttparse/lists"}