Skip to content

Commit

Permalink
docs(headers): clarify Basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jethrogb authored Jul 31, 2017
1 parent 4922bb9 commit fcbad58
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 fcbad58

Please sign in to comment.