docs/comments: fix some typos (#1346)
This commit is contained in:
@@ -334,7 +334,7 @@ impl<P: PartProps> FormParts<P> {
|
||||
let header = self.percent_encoding.encode_headers(name, field.metadata());
|
||||
let header_length = header.len();
|
||||
self.computed_headers.push(header);
|
||||
// The additions mimick the format string out of which the field is constructed
|
||||
// The additions mimic the format string out of which the field is constructed
|
||||
// in Reader. Not the cleanest solution because if that format string is
|
||||
// ever changed then this formula needs to be changed too which is not an
|
||||
// obvious dependency in the code.
|
||||
|
||||
@@ -10,7 +10,7 @@ use bytes::Bytes;
|
||||
|
||||
/// Actions for a persistent cookie store providing session support.
|
||||
pub trait CookieStore: Send + Sync {
|
||||
/// Store a set of Set-Cookie header values recevied from `url`
|
||||
/// Store a set of Set-Cookie header values received from `url`
|
||||
fn set_cookies(&self, cookie_headers: &mut dyn Iterator<Item = &HeaderValue>, url: &url::Url);
|
||||
/// Get any Cookie values in the store for `url`
|
||||
fn cookies(&self, url: &url::Url) -> Option<HeaderValue>;
|
||||
|
||||
Reference in New Issue
Block a user