Merge pull request #1279 from jethrogb/patch-2
docs(headers): clarify Basic auth
This commit is contained in:
@@ -140,7 +140,8 @@ pub struct Basic {
|
|||||||
/// The username as a possibly empty string
|
/// The username as a possibly empty string
|
||||||
pub username: String,
|
pub username: String,
|
||||||
/// The password. `None` if the `:` delimiter character was not
|
/// The password. `None` if the `:` delimiter character was not
|
||||||
/// part of the parsed input.
|
/// part of the parsed input. Note: A compliant client MUST
|
||||||
|
/// always send a password (which may be the empty string).
|
||||||
pub password: Option<String>
|
pub password: Option<String>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user