This commit is contained in:
Rob Ede 2021-08-11 22:07:35 +01:00
parent a20e526971
commit 437c7d993b
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ pub(crate) trait MessageType: Sized {
}
header::CONTENT_LENGTH => match value.to_str() {
Ok(s) if s.trim().starts_with("+") => {
Ok(s) if s.trim().starts_with('+') => {
debug!("illegal Content-Length: {:?}", s);
return Err(ParseError::Header);
}