diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2020-04-30 10:33:04 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-13 09:38:49 +0200 |
| commit | 345fa40cb5459fab8ce06744396ab5ceaf2d04ee (patch) | |
| tree | ebec15644e3adbec57feadf8e8fd04b5c68a109d /docs/ref | |
| parent | 15d76dc2abefc799ecbc3545ae90aefe765d4144 (diff) | |
[3.1.x] Used :mimetype: role in various docs.
Backport of feb91dbda13974f84eac52dccdc0de1ddb636616 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/request-response.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 0374ae3b0f..9538fb45ff 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -1040,7 +1040,7 @@ can create it with the help of :py:class:`http.HTTPStatus`. For example:: response. It inherits most behavior from its superclass with a couple differences: - Its default ``Content-Type`` header is set to ``application/json``. + Its default ``Content-Type`` header is set to :mimetype:`application/json`. The first parameter, ``data``, should be a ``dict`` instance. If the ``safe`` parameter is set to ``False`` (see below) it can be any |
