#tcp

http-constant

A comprehensive library providing common HTTP constants for header names, versions, MIME types, and protocol identifiers

144 stable releases

Uses new Rust 2024

5.5.1 May 28, 2026
5.4.0 Mar 22, 2026
4.0.0 Feb 14, 2026
3.4.0 Jan 31, 2026
0.1.0 Dec 21, 2024

#1758 in Network programming

Download history 62/week @ 2026-02-16 216/week @ 2026-02-23 180/week @ 2026-03-02 109/week @ 2026-03-09 295/week @ 2026-03-16 246/week @ 2026-03-23 39/week @ 2026-03-30 309/week @ 2026-04-06 124/week @ 2026-04-13 177/week @ 2026-04-20 73/week @ 2026-04-27 307/week @ 2026-05-04 412/week @ 2026-05-11 227/week @ 2026-05-18 502/week @ 2026-05-25 275/week @ 2026-06-01

1,610 downloads per month
Used in 18 crates (2 directly)

MIT license

1MB
6.5K SLoC

http-constant

Official Documentation

Api Docs

A comprehensive library providing common HTTP constants for header names, versions, MIME types, and protocol identifiers.

Installation

To use this crate, you can run cmd:

cargo add http-constant

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please reach out to the author at root@ltpp.vip.

No runtime deps