Fabiano Fidêncio 4f621532e8 response: Add "TooManyRequests" status code
The addition of the "TooManyRequests" status code is in order to notify
users when an operation is still pending, and this seems to be the best
fit we can have for now.

On the Cloud Hypervisor side we'll use it, for instance, for the case
when a caller tries to offline a vCPU but the previous offline operation
is still pending, leaving at least a chance for the caller to analyse
the error and decide whether they want to retry the operation or not.

TooManyRequests: https://datatracker.ietf.org/doc/html/rfc6585#section-4

Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
2025-04-25 13:11:52 +01:00
2020-01-30 15:21:04 +02:00
2023-09-20 14:13:56 +01:00
2020-07-23 18:17:33 +03:00
2020-01-30 15:21:04 +02:00
2022-06-13 09:39:48 +03:00
2024-01-02 17:07:08 +00:00
2024-01-02 17:07:08 +00:00
2020-03-24 18:22:44 +02:00
2020-03-24 18:22:44 +02:00
2022-06-13 09:39:48 +03:00

micro-http

This is a minimal implementation of the HTTP/1.0 and HTTP/1.1 protocols. This HTTP implementation is stateless thus it does not support chunking or compression.

The micro-http implementation is used in production by Firecracker.

As micro-http uses std::os::unix this crates only supports Unix-like targets.

Contributing

To contribute to micro-http, checkout the contribution guidelines.

Releases

New micro-http versions are released via the GitHub repository releases page. A history of changes is recorded in our changelog.

Policy for Security Disclosures

If you suspect you have uncovered a vulnerability, contact us privately, as outlined in our security policy document; we will immediately prioritize your disclosure.

Description
No description provided
Readme Apache-2.0 331 KiB
Languages
Rust 100%