Skip to content

Commit

Permalink
Merge pull request #1279 from jethrogb/patch-2
Browse files Browse the repository at this point in the history
docs(headers): clarify Basic auth
  • Loading branch information
seanmonstar authored Jul 31, 2017
2 parents a900495 + fcbad58 commit f2db365
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/header/common/authorization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
}

Expand Down

0 comments on commit f2db365

Please sign in to comment.