Commit 54e70e84 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #13687 -- Corrected request/response docs that mistakenly suggested...

Fixed #13687 -- Corrected request/response docs that mistakenly suggested __getitem__ and __delitem__ were case sensitive. Thanks to master for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 5dee1066
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -498,11 +498,11 @@ Methods
.. method:: HttpResponse.__delitem__(header)

    Deletes the header with the given name. Fails silently if the header
    doesn't exist. Case-sensitive.
    doesn't exist. Case-insensitive.

.. method:: HttpResponse.__getitem__(header)

    Returns the value for the given header name. Case-sensitive.
    Returns the value for the given header name. Case-insensitive.

.. method:: HttpResponse.has_header(header)