Code

Ticket #16581: 16581.diff

File 16581.diff, 1.7 KB (added by BernhardEssl, 3 years ago)
Line 
1Index: docs/ref/request-response.txt
2===================================================================
3--- docs/ref/request-response.txt       (revision 16591)
4+++ docs/ref/request-response.txt       (working copy)
5@@ -125,20 +125,20 @@
6     Available headers depend on the client and server, but here are some
7     examples:
8 
9-        * ``CONTENT_LENGTH``
10-        * ``CONTENT_TYPE``
11-        * ``HTTP_ACCEPT_ENCODING``
12-        * ``HTTP_ACCEPT_LANGUAGE``
13+        * ``CONTENT_LENGTH`` -- The request's body length (string value).
14+        * ``CONTENT_TYPE`` -- The request's body mime type.
15+        * ``HTTP_ACCEPT_ENCODING`` -- Acceptable encodings.
16+        * ``HTTP_ACCEPT_LANGUAGE`` -- Acceptable languages.
17         * ``HTTP_HOST`` -- The HTTP Host header sent by the client.
18         * ``HTTP_REFERER`` -- The referring page, if any.
19         * ``HTTP_USER_AGENT`` -- The client's user-agent string.
20         * ``QUERY_STRING`` -- The query string, as a single (unparsed) string.
21-        * ``REMOTE_ADDR`` -- The IP address of the client.
22-        * ``REMOTE_HOST`` -- The hostname of the client.
23+        * ``REMOTE_ADDR`` -- The client's IP address.
24+        * ``REMOTE_HOST`` -- The client's hostname.
25         * ``REMOTE_USER`` -- The user authenticated by the Web server, if any.
26         * ``REQUEST_METHOD`` -- A string such as ``"GET"`` or ``"POST"``.
27-        * ``SERVER_NAME`` -- The hostname of the server.
28-        * ``SERVER_PORT`` -- The port of the server.
29+        * ``SERVER_NAME`` -- The server's hostname.
30+        * ``SERVER_PORT`` -- The server's port (string value).
31 
32     With the exception of ``CONTENT_LENGTH`` and ``CONTENT_TYPE``, as given
33     above, any HTTP headers in the request are converted to ``META`` keys by