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
|
||
|---|---|---|
| .. | ||
| trybuild | ||
| routes.rs | ||
| scopes.rs | ||
| trybuild.rs | ||