Thu, 14 Apr 2011 14:19:21 +0200 [testlib] make a clear distinction between input / output HTTP headers stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 14 Apr 2011 14:19:21 +0200] rev 7224
[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
(0) -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 tip