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

rename header generator macros

This commit is contained in:
Rob Ede
2021-04-15 22:05:06 +01:00
parent 845c02cb86
commit 8d88a0a9af
20 changed files with 395 additions and 397 deletions

View File

@@ -1,6 +1,6 @@
use super::{HttpDate, EXPIRES};
crate::header! {
crate::__define_common_header! {
/// `Expires` header, defined in [RFC7234](http://tools.ietf.org/html/rfc7234#section-5.3)
///
/// The `Expires` header field gives the date/time after which the
@@ -36,6 +36,6 @@ crate::header! {
test_expires {
// Test case from RFC
test_header!(test1, vec![b"Thu, 01 Dec 1994 16:00:00 GMT"]);
crate::__common_header_test!(test1, vec![b"Thu, 01 Dec 1994 16:00:00 GMT"]);
}
}