Ticket #16581: 16581.diff

File 16581.diff, 1.7 KB (added by Bernhard Essl, 13 years ago)
  • docs/ref/request-response.txt

     
    125125    Available headers depend on the client and server, but here are some
    126126    examples:
    127127
    128         * ``CONTENT_LENGTH``
    129         * ``CONTENT_TYPE``
    130         * ``HTTP_ACCEPT_ENCODING``
    131         * ``HTTP_ACCEPT_LANGUAGE``
     128        * ``CONTENT_LENGTH`` -- The request's body length (string value).
     129        * ``CONTENT_TYPE`` -- The request's body mime type.
     130        * ``HTTP_ACCEPT_ENCODING`` -- Acceptable encodings.
     131        * ``HTTP_ACCEPT_LANGUAGE`` -- Acceptable languages.
    132132        * ``HTTP_HOST`` -- The HTTP Host header sent by the client.
    133133        * ``HTTP_REFERER`` -- The referring page, if any.
    134134        * ``HTTP_USER_AGENT`` -- The client's user-agent string.
    135135        * ``QUERY_STRING`` -- The query string, as a single (unparsed) string.
    136         * ``REMOTE_ADDR`` -- The IP address of the client.
    137         * ``REMOTE_HOST`` -- The hostname of the client.
     136        * ``REMOTE_ADDR`` -- The client's IP address.
     137        * ``REMOTE_HOST`` -- The client's hostname.
    138138        * ``REMOTE_USER`` -- The user authenticated by the Web server, if any.
    139139        * ``REQUEST_METHOD`` -- A string such as ``"GET"`` or ``"POST"``.
    140         * ``SERVER_NAME`` -- The hostname of the server.
    141         * ``SERVER_PORT`` -- The port of the server.
     140        * ``SERVER_NAME`` -- The server's hostname.
     141        * ``SERVER_PORT`` -- The server's port (string value).
    142142
    143143    With the exception of ``CONTENT_LENGTH`` and ``CONTENT_TYPE``, as given
    144144    above, any HTTP headers in the request are converted to ``META`` keys by
Back to Top