mirror of
https://github.com/fafhrd91/actix-web
synced 2025-09-01 17:27:18 +02:00
improve typed header macro
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use super::{EntityTag, IF_MATCH};
|
||||
use super::{common_header, EntityTag, IF_MATCH};
|
||||
|
||||
crate::http::header::common_header! {
|
||||
common_header! {
|
||||
/// `If-Match` header, defined
|
||||
/// in [RFC 7232 §3.1](https://datatracker.ietf.org/doc/html/rfc7232#section-3.1)
|
||||
///
|
||||
@@ -17,7 +17,7 @@ crate::http::header::common_header! {
|
||||
/// there have been any changes to the representation data.
|
||||
///
|
||||
/// # ABNF
|
||||
/// ```text
|
||||
/// ```plain
|
||||
/// If-Match = "*" / 1#entity-tag
|
||||
/// ```
|
||||
///
|
||||
|
Reference in New Issue
Block a user