feat(headers): Add If-None-Match header field
Add the HTTP/1.1 `If-None-Match` header field makes the request method conditional on a recipient cache or origin server either not having any current representation of the target resource, when the field-value is "*", or having a selected representation with an entity-tag that does not match any of those listed in the field-value. Closes #238
This commit is contained in:
@@ -21,6 +21,7 @@ pub use self::etag::Etag;
|
||||
pub use self::expires::Expires;
|
||||
pub use self::host::Host;
|
||||
pub use self::if_modified_since::IfModifiedSince;
|
||||
pub use self::if_none_match::IfNoneMatch;
|
||||
pub use self::if_unmodified_since::IfUnmodifiedSince;
|
||||
pub use self::last_modified::LastModified;
|
||||
pub use self::location::Location;
|
||||
@@ -158,6 +159,7 @@ mod expires;
|
||||
mod host;
|
||||
mod last_modified;
|
||||
mod if_modified_since;
|
||||
mod if_none_match;
|
||||
mod if_unmodified_since;
|
||||
mod location;
|
||||
mod pragma;
|
||||
|
||||
Reference in New Issue
Block a user