diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-09-01 05:12:25 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-09-01 05:12:25 +0000 |
| commit | 8da42a8b68698b57931f8c5db1247f47d70da009 (patch) | |
| tree | 3827ea5422487c2775913292101e262b531ec696 /docs | |
| parent | b483f66efefca1029d6ac8b9836f9db844ced05f (diff) | |
Fixed inevitable ReST bugs in [592]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/request_response.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/request_response.txt b/docs/request_response.txt index 72119459be..3f4ccea713 100644 --- a/docs/request_response.txt +++ b/docs/request_response.txt @@ -261,7 +261,7 @@ Methods header with the given name. ``set_cookie(key, value='', max_age=None, path='/', domain=None, secure=None)`` - Sets a cookie. The parameters are the same as in the `Cookie.Morsel`_ + Sets a cookie. The parameters are the same as in the `cookie Morsel`_ object in the Python standard library. * ``max_age`` should be a number of seconds, or ``None`` (default) if @@ -272,15 +272,13 @@ Methods calendars.lawrence.com. Otherwise, a cookie will only be readable by the domain that set it. - .. _`Cookie.Morsel object`: http://www.python.org/doc/current/lib/morsel-objects.html + .. _`cookie Morsel`: http://www.python.org/doc/current/lib/morsel-objects.html ``get_content_as_string(encoding)`` Returns the content as a Python string, encoding it from a Unicode object if necessary. -``write(content)`` -``flush()`` -``tell()`` +``write(content)``, ``flush()`` and ``tell()`` These methods make an ``HttpResponse`` instance a file-like object. HttpResponse subclasses |
