Add explicit headers-only POST request using Prefer header and default the request to minimal

This commit is contained in:
laurenceisla
2021-07-23 17:15:30 -05:00
committed by GitHub
parent 41325fd9ba
commit 77faf9e9bc
2 changed files with 9 additions and 2 deletions
+8 -1
View File
@@ -16,6 +16,9 @@ Added
* Allow :ref:`s_procs_variadic`.
|br| -- `@wolfgangwalther <https://github.com/wolfgangwalther>`_
* Allow sending the header ``Prefer: headers-only`` to get a response with a ``Location`` header. See :ref:`insert_update`.
|br| -- `@laurenceisla <https://github.com/laurenceisla>`_
* Allow :ref:`connection_poolers` such as PgBouncer in transaction pooling mode.
|br| -- `@laurenceisla <https://github.com/laurenceisla>`_
@@ -55,4 +58,8 @@ Changed
|br| -- `@laurenceisla <https://github.com/laurenceisla>`_
* Modified the default logging level from ``info`` to ``error``. See :ref:`log-level`.
|br| -- `@steve-chavez <https://github.com/steve-chavez>`_
|br| -- `@steve-chavez <https://github.com/steve-chavez>`_
* POST requests for insertions no longer include a ``Location`` header in the response by default and behave the same way as having a
``Prefer: return=minimal`` header in the request. This prevents permissions errors when having a write-only table. See :ref:`insert_update`.
|br| -- `@laurenceisla <https://github.com/laurenceisla>`_