Martin Panter added the comment:

I can see the advantage of using an enum over a plain string. But you only get 
an error at run time, not compile time, if you misspell it. And there is also 
the disadvantage of the extra boilerplate of importing HTTPMessage. So I don’t 
have a strong opinion either way. Do other libraries have a similar enum?

BTW I think it is actually OPTIONS; see review comment.

----------
nosy: +martin.panter
stage:  -> patch review
type:  -> enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26380>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to