From 0b5f74023ec75c0e77cd4b4144bd30fc06f54f09 Mon Sep 17 00:00:00 2001 From: Lohann Paterno Coutinho Ferreira Date: Sun, 7 Jan 2024 23:40:47 -0300 Subject: [PATCH] Fix range status code parser --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 995e3f9..f3ac7d5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -374,7 +374,7 @@ impl From 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,