Skip to content

Commit

Permalink
feature: support lowercase API version headers
Browse files Browse the repository at this point in the history
  • Loading branch information
skeptrunedev committed Jul 23, 2024
1 parent f6b387d commit 5db0526
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/middleware/api_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ where
"2.0" => APIVersion::V2,
"V1" => APIVersion::V1,
"V2" => APIVersion::V2,
"v1" => APIVersion::V1,
"v2" => APIVersion::V2,
_ => APIVersion::from_dataset(dataset),
},
None => APIVersion::from_dataset(dataset),
Expand Down

0 comments on commit 5db0526

Please sign in to comment.