Skip to content

Commit

Permalink
Improving docs for setting response headers like content-type (PostgR…
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshtrivedi authored and laurenceisla committed Mar 11, 2022
1 parent 28399d9 commit a87cea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2515,7 +2515,7 @@ Notice that the variable should be set to an *array* of single-key objects rathe

.. note::

PostgREST provided headers such as ``Content-Type``, ``Location``, etc. can be overriden this way.
PostgREST provided headers such as ``Content-Type``, ``Location``, etc. can be overriden this way. Note that irrespective of overridden ``Content-Type`` response header, the content will still be converted to JSON, unless you also set :ref:`raw-media-types` to something like ``text/html``.

.. _pre_req_headers:

Expand Down

0 comments on commit a87cea7

Please sign in to comment.