This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients crickert, docs@python, martin.panter, r.david.murray
Date 2015-11-09.01:04:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hmm, I wonder if that OpenerDirector example is a bit obscure. Normally you would use the default urlopen() to set User-Agent, without resorting to a custom OpenerDirector.

In my patch:

* Included “User-Agent header _value_” in the “headers” parameter description
* Linked to <> from examples section
* Added add_header("User-Agent", ...) example with made-up custom value

Let me know what you think (if anything is unnecessary, other suggestions?)
Date User Action Args
2015-11-09 01:04:16martin.pantersetrecipients: + martin.panter, r.david.murray, docs@python, crickert
2015-11-09 01:04:16martin.pantersetmessageid: <>
2015-11-09 01:04:16martin.panterlinkissue25570 messages
2015-11-09 01:04:15martin.pantercreate