Skip to content
Browse files

Fixed inevitable ReST bugs in [592]

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b483f66 commit 8da42a8b68698b57931f8c5db1247f47d70da009 @adrianholovaty adrianholovaty committed
Showing with 3 additions and 5 deletions.
  1. +3 −5 docs/request_response.txt
8 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 Otherwise, a cookie will only be readable by
the domain that set it.
- .. _`Cookie.Morsel object`:
+ .. _`cookie Morsel`:
Returns the content as a Python string, encoding it from a Unicode object
if necessary.
+``write(content)``, ``flush()`` and ``tell()``
These methods make an ``HttpResponse`` instance a file-like object.
HttpResponse subclasses

0 comments on commit 8da42a8

Please sign in to comment.
Something went wrong with that request. Please try again.