equal
deleted
inserted
replaced
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
7 """ |
7 """ |
8 |
8 |
9 __docformat__ = "restructuredtext en" |
9 __docformat__ = "restructuredtext en" |
10 |
|
11 from cubicweb.web.http_headers import Headers |
|
12 |
10 |
13 class HTTPResponse(object): |
11 class HTTPResponse(object): |
14 """An object representing an HTTP Response to be sent to the client. |
12 """An object representing an HTTP Response to be sent to the client. |
15 """ |
13 """ |
16 def __init__(self, twisted_request, code=None, headers=None, stream=None): |
14 def __init__(self, twisted_request, code=None, headers=None, stream=None): |