#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

53 stable releases

Uses new Rust 2024

new 1.42.0 Apr 14, 2025
1.41.0 Apr 13, 2025
1.39.1 Mar 23, 2025
1.29.0 Feb 24, 2025
0.1.0 Dec 21, 2024

#2144 in Network programming

Download history 954/week @ 2024-12-22 1196/week @ 2024-12-29 1475/week @ 2025-01-05 243/week @ 2025-01-12 714/week @ 2025-01-19 31/week @ 2025-01-26 267/week @ 2025-02-02 436/week @ 2025-02-09 402/week @ 2025-02-16 330/week @ 2025-02-23 498/week @ 2025-03-02 992/week @ 2025-03-09 809/week @ 2025-03-16 696/week @ 2025-03-23 282/week @ 2025-03-30 168/week @ 2025-04-06

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

MIT license

165KB
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