Merge pull request #1279 from jethrogb/patch-2

docs(headers): clarify Basic auth
This commit is contained in:
Sean McArthur
2017-07-31 11:02:39 -07:00
committed by GitHub

View File

@@ -140,7 +140,8 @@ pub struct Basic {
/// The username as a possibly empty string
pub username: String,
/// 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>
}