h10 0.6.10

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

/// ### Authorization
/// Related: Authentication
///
/// Reference: https://www.rfc-editor.org/rfc/rfc1945.html#section-10.2
#[derive(Debug, PartialEq, Eq)]
pub struct Authorization {
    name: HeaderName,
    value: HeaderValue,
}