#http-header #request-response #redirect #tcp #http-response #protocols #version

http-constant

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

50 stable releases

Uses new Rust 2024

new 1.39.1 Mar 23, 2025
1.38.0 Mar 23, 2025
1.29.0 Feb 24, 2025
1.26.1 Jan 20, 2025
0.1.0 Dec 21, 2024

#1606 in Network programming

Download history 901/week @ 2024-12-21 862/week @ 2024-12-28 1780/week @ 2025-01-04 298/week @ 2025-01-11 739/week @ 2025-01-18 32/week @ 2025-01-25 242/week @ 2025-02-01 416/week @ 2025-02-08 416/week @ 2025-02-15 353/week @ 2025-02-22 482/week @ 2025-03-01 854/week @ 2025-03-08 814/week @ 2025-03-15

2,547 downloads per month
Used in 7 crates (3 directly)

MIT license

170KB
2.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

Use

use 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 ltpp-universe root@ltpp.vip.

No runtime deps