[issue26380] Add an http method enum

Demian Brecht report at bugs.python.org
Thu Feb 18 01:24:05 EST 2016


New submission from Demian Brecht:

Super minor annoyance that I've had over multiple projects is seeing either hard coded strings being used (which is a bit of a no-no in terms of best practices) or each project defining its own set of constants for http methods. Why not just include a standard set in http as is done for status codes?

----------
components: Library (Lib)
keywords: needs review
messages: 260431
nosy: demian.brecht, r.david.murray
priority: normal
severity: normal
status: open
title: Add an http method enum
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26380>
_______________________________________


More information about the Python-bugs-list mailing list