﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26546	Allow HTTPStatus enum values to be used as HttpResponse.status	David Evans	nobody	"Python 3.5 provides an [https://docs.python.org/3/library/http.html#http.HTTPStatus HTTPStatus] enum for representing HTTP statuses. The values of this enum are subclasses of `int`, so it ought to be possible to use them as the `status` argument to the `HttpResponse` constructor.

However the `WSGIHandler` classes uses `%s` formatting rather than `%d`, which causes the values to be rendered as, e.g. `""HTTPStatus.OK""` rather than `""200""`.

The associated patch (a single character change, excluding the tests) fixes this."	Cleanup/optimization	closed	HTTP handling	dev	Normal	fixed			Accepted	1	0	0	0	0	0
