docs: PGRST107 error should map to 406 not to 415

This commit is contained in:
Michał Kłeczek
2026-05-27 14:37:23 -05:00
committed by Steve Chavez
parent 1a6ba2072c
commit 998d232ac0
+1 -1
View File
@@ -199,7 +199,7 @@ Related to the HTTP request elements.
| | | :ref:`switching schemas <multiple-schemas>` is not present |
| PGRST106 | | in the :ref:`db-schemas` configuration variable. |
+---------------+-------------+-------------------------------------------------------------+
| .. _pgrst107: | 415 | The ``Content-Type`` sent in the request is invalid. |
| .. _pgrst107: | 406 | The ``Accept`` media type sent in the request is invalid. |
| | | |
| PGRST107 | | |
+---------------+-------------+-------------------------------------------------------------+