etwist/http.py
changeset 8930 6a02be304486
parent 8316 d5b1b75805dd
equal deleted inserted replaced
8929:b747f2532e03 8930:6a02be304486
     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):