mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
parent
74f8c0eeb7
commit
ba36a108c1
56 changed files with 674 additions and 518 deletions
|
@ -5,19 +5,11 @@
|
|||
//! Implementation of cookie storage as specified in
|
||||
//! http://tools.ietf.org/html/rfc6265
|
||||
|
||||
use net_traits::CookieSource;
|
||||
use url::Url;
|
||||
use cookie::Cookie;
|
||||
use std::cmp::Ordering;
|
||||
|
||||
/// The creator of a given cookie
|
||||
#[derive(PartialEq, Copy)]
|
||||
pub enum CookieSource {
|
||||
/// An HTTP API
|
||||
HTTP,
|
||||
/// A non-HTTP API
|
||||
NonHTTP,
|
||||
}
|
||||
|
||||
pub struct CookieStorage {
|
||||
cookies: Vec<Cookie>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue