skeleton/entities.py.tmpl
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 14 Apr 2011 14:19:21 +0200
branchstable
changeset 7224 e5833657c646
parent 5426 0d4853a6e5ee
child 8207 c04676b16c59
permissions -rw-r--r--
[testlib] make a clear distinction between input / output HTTP headers The get_header() / set_header() API is the same as for CubicWebRequestBase : - get_header() returns the **request** header - set_header() / add_header() works on the **response** header FakeRequest adds two additional methods : - get_response_header() returns the **reponse** header - set_request_header() adds a **request** header FakeRequest now uses the `headers_out` ineherited from CubicWebRequestBase. It also uses a `_headers_in` attribute

# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s entity's classes"""