Skip to content

Commit

Permalink
Add types for the constructor
Browse files Browse the repository at this point in the history
Signed-off-by: franck cuny <franck.cuny@gmail.com>
  • Loading branch information
fcuny committed Feb 8, 2012
1 parent 23e0ad4 commit 96f6f1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion http/response.py
Expand Up @@ -14,10 +14,13 @@ def __init__(self, status, headers=Headers(), content=None,
Construct a new ``Response`` object.
:param status: HTTP status code for the response
:param headers: a list of tuples or a class:`Headers` object
:type status: integer
:param headers: HTTP headers
:type status: a list of tuples or a class:`Headers` object
:param content: content
:param message: HTTP message for the response
:param request: origin Request object used
:type request: class:`Request`
.. attribute:: redirects
Expand Down

0 comments on commit 96f6f1e

Please sign in to comment.