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

Backport of r13529 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-08-07 02:47:51 +00:00
parent 490bd7f9bc
commit 049a246cc4
1 changed files with 2 additions and 2 deletions

View File

@ -498,11 +498,11 @@ Methods
.. method:: HttpResponse.__delitem__(header) .. method:: HttpResponse.__delitem__(header)
Deletes the header with the given name. Fails silently if the 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) .. 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) .. method:: HttpResponse.has_header(header)