1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-01 17:27:18 +02:00

add GuardContext::header (#2569)

This commit is contained in:
Rob Ede
2022-01-05 11:47:14 +00:00
committed by GitHub
parent fe0bbfb3da
commit 4ebf16890d
3 changed files with 30 additions and 6 deletions

View File

@@ -2,10 +2,10 @@ use std::cmp::Ordering;
use mime::Mime;
use super::QualityItem;
use super::{common_header, QualityItem};
use crate::http::header;
crate::http::header::common_header! {
common_header! {
/// `Accept` header, defined
/// in [RFC 7231 §5.3.2](https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.2)
///