[issue22450] urllib doesn't put Accept: */* in the headers

Senthil Kumaran report at bugs.python.org
Sun Sep 21 02:03:52 CEST 2014


Senthil Kumaran added the comment:

Well, the result with loading using json will be same. but without sending Accept */*. The content-type returned is text/javascript; charset=UTF-8 and with sending of Accept */* the content-type is set to application/json; charset=UTF-8 (which is more desirable).

----------

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


More information about the Python-bugs-list mailing list