mirror of https://github.com/fafhrd91/actix-web
Per RFC 7231 Section 4.3.2, a server that supports GET must also
support HEAD. The #[get] macro now implicitly registers a HEAD
guard so that HEAD requests are handled without requiring users
to write #[route("/path", method="GET", method="HEAD")].
Fixes #2702
|
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| CHANGES.md | ||
| Cargo.toml | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| README.md | ||
README.md
actix-web-codegen
Routing and runtime macros for Actix Web.
Compile Testing
Uses the trybuild crate. All compile fail tests should include a stderr file generated by trybuild. See the workflow section of the trybuild docs for info on how to do this.