#http-response #http-request #tcp #redirect #request-response

http-constant

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

57 stable releases

Uses new Rust 2024

new 1.42.4 May 20, 2025
1.42.1 Apr 18, 2025
1.39.1 Mar 23, 2025
1.29.0 Feb 24, 2025
0.1.0 Dec 21, 2024

#1745 in Network programming

Download history 69/week @ 2025-01-29 476/week @ 2025-02-05 414/week @ 2025-02-12 392/week @ 2025-02-19 387/week @ 2025-02-26 844/week @ 2025-03-05 725/week @ 2025-03-12 1002/week @ 2025-03-19 224/week @ 2025-03-26 318/week @ 2025-04-02 439/week @ 2025-04-09 368/week @ 2025-04-16 188/week @ 2025-04-23 100/week @ 2025-04-30 162/week @ 2025-05-07 811/week @ 2025-05-14

1,287 downloads per month
Used in 6 crates (2 directly)

MIT license

175KB
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 root@ltpp.vip.

No runtime deps