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

This commit is contained in:
Nilesh
2022-01-27 19:27:19 -05:00
committed by GitHub
parent 0824139069
commit 49ca91cc3c
+1 -1
View File
@@ -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: