doc/images/tutos-base_form-generic-relations_en.png
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 29 Nov 2017 16:14:57 +0100
changeset 12231 55924e962cd7
parent 10491 c67bcee93248
permissions -rw-r--r--
[wsgi] Convert "code" passed to WSGIResponse as integer WSGIResponse is passed a Request.status_out in CubicWebWSGIApplication._render(), which, starting from Python 3.5, is an instance of HTTPStatus. However, webtest still expects a 3-digits value as status string. Fortunately, calling int() on an HTTPStatus works.

(binary:image/png)