Raymond Hettinger added the comment:

> What do you think, Raymond

Before dismissing this, we should get a better understanding of why "Accept: 
*/*" is so widely used in practice.

Here's what we know so far:
* The header made a difference to the Facebook Graph API.
* Curl (a minimalist) includes "Accept: */*", Host, and User-Agent.
* Firefox includes "*/*" at the end of its list of acceptable types.
* Kenneth Reitz's requests module uses "Accept: */*" by default.
* The poolmanager in urllib3 uses "Accept: */*" by default and has a comment 
that that and the "Host" header are both needed by proxies.
* I'm also seeing "Accept: */*" in book examples as well.  See 
https://books.google.com/books?id=fVuWayXLdYIC&pg=PA22 and 
http://doc.bonfire-project.eu/R1/api/example-session.html

----------

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

Reply via email to