h10 0.6.10

Simple HTTP/1.0 Server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::http::headers::{HeaderName, HeaderValue};

/// ### If-Modified-Since
/// Related: Resource state
/// 304 (not modified) response will be returned without any
///          Entity-Body.
///
/// Reference: https://www.rfc-editor.org/rfc/rfc1945.html#section-10.9
///
#[derive(Debug, PartialEq, Eq)]
pub struct IfModifiedSince {
    name: HeaderName,
    value: HeaderValue,
}