hyperium / http

Rust HTTP types
Apache License 2.0
1.15k stars 285 forks source link

StatusCode doesn't have TOO_EARLY and EARLY_HINTS variants #439

Closed c410-f3r closed 2 years ago

c410-f3r commented 3 years ago

Early Hints is 103 and Too Early is 425

dekellum commented 3 years ago

I see these codes are now IANA registered and the http::StatusCode docs imply that constants are provided for all registered codes. Do you want to attempt a PR to add these?

(Disclaimer: I don't have commit bit, but I imagine such a PR would be well received.)

c410-f3r commented 2 years ago

Closing due to inactivity