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

Raymond Hettinger report at bugs.python.org
Tue Aug 30 17:21:59 EDT 2016


Raymond Hettinger added the comment:

Putting it another way:   To an origin server, 'Accept: */*' means it can return anything it wants.  To a proxy server, the absence of an accept header means in can return anything it has cached (possibly different from what the origin server would have returned).  In contract, to a proxy server, 'Accept: */*' means return exactly what the origin server would have returned with the same headers.

----------

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


More information about the Python-bugs-list mailing list