Skip to content

Commit

Permalink
Fix range status code parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Lohann committed Jan 8, 2024
1 parent 6574aa3 commit 0b5f740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ impl From<StatusCode> for u16 {
StatusCode::SessionNotFound => 454,
StatusCode::MethodNotValidInThisState => 455,
StatusCode::HeaderFieldNotValidForResource => 456,
StatusCode::InvalidRange => 456,
StatusCode::InvalidRange => 457,
StatusCode::ParameterIsReadOnly => 458,
StatusCode::AggregateOperationNotAllowed => 459,
StatusCode::OnlyAggregateOperationAllowed => 460,
Expand Down

0 comments on commit 0b5f740

Please sign in to comment.