R. David Murray added the comment:

Thanks.  That patch looks good except that it is missing the corresponding 
documentation changes, but...

I just noticed that this table is a partial duplicate of the table in 
http.server.  I suspect this has historical origins, but I don't see any reason 
to maintain the duplication.  I wonder if we should do some refactoring here.  
This is getting a beyond the original scope of this issue, but it seems to me 
that the common stuff used by http.server and http.client (which is mostly in 
http.client, except for the 'explain' messages that are in the http.server 
responses list) could be moved into a 'common' or 'util' module, and imported 
from both, thus reducing the direct coupling between http.server and 
http.client.  (The 'responses' object in http.client would have to be computed 
from the one in this new module, since the http.client one doesn't contain the 
'explain' messages).

----------
nosy: +orsenthil
versions: +Python 3.5

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

Reply via email to