Make Cookie header RFC6265 compliant (#130)

This commit is contained in:
cazgp
2020-08-07 18:04:15 +01:00
committed by GitHub
parent 75d5e52a45
commit 22d815e5e7
2 changed files with 77 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
use crate::error::Error;
use std::str::FromStr;
#[derive(Clone)]
#[derive(Clone, PartialEq)]
/// Wrapper type for a header field.
/// https://tools.ietf.org/html/rfc7230#section-3.2
pub struct Header {