fix: Parse accept header case-insensitively

The Accept header is parsed case-insensitively now, introducing proper
handling of media types specified in upper- and/or mixed-case.

Fixes #3478
This commit is contained in:
Andrei Dziahel
2024-05-09 19:30:42 +02:00
committed by Wolfgang Walther
parent 1fa35cb3b8
commit 3026c1f308
2 changed files with 72 additions and 46 deletions
+1
View File
@@ -44,6 +44,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #2985, Fix not adding `application_name` on all connection strings - @steve-chavez
- #3424, Admin `/live` and `/ready` now differentiates a failure as 500 status - @steve-chavez
+ 503 status is still given when postgREST is in a recovering state
- #3478, Media Types are parsed case insensitively - @develop7
### Deprecated