#tcp

http-constant

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

140 stable releases

Uses new Rust 2024

new 5.2.1 Mar 3, 2026
5.0.0 Feb 14, 2026
4.0.0 Feb 14, 2026
3.4.0 Jan 31, 2026
0.1.0 Dec 21, 2024

#1779 in Network programming

Download history 222/week @ 2025-11-13 277/week @ 2025-11-20 297/week @ 2025-11-27 294/week @ 2025-12-04 167/week @ 2025-12-11 258/week @ 2025-12-18 184/week @ 2025-12-25 357/week @ 2026-01-01 348/week @ 2026-01-08 311/week @ 2026-01-15 221/week @ 2026-01-22 456/week @ 2026-01-29 271/week @ 2026-02-05 220/week @ 2026-02-12 71/week @ 2026-02-19 282/week @ 2026-02-26

908 downloads per month
Used in 17 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