From 345fa40cb5459fab8ce06744396ab5ceaf2d04ee Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Thu, 30 Apr 2020 10:33:04 +0100 Subject: [3.1.x] Used :mimetype: role in various docs. Backport of feb91dbda13974f84eac52dccdc0de1ddb636616 from master --- docs/ref/request-response.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref') 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 -- cgit v1.3