Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Improving docs for setting response headers like content-type #494

Merged
merged 2 commits into from
Jan 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2509,7 +2509,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