Commit Graph

38 Commits

Author SHA1 Message Date
Serhiy Storchaka b8b9f95f66 [2.7] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (#1616)
* Use explicit numbering for footnotes referred by explicit number.
* Fix literal strings formatting in howto/urllib2.rst.
* Add `:noindex:` to duplicated definition of list.
* Update susp-ignored.csv for reference/expressions.rst.
(cherry picked from commit d97b7dc94b)
2017-05-17 01:26:48 +03:00
Martin Panter a52b567a3f Issue #28820: Fix spelling of “practice” as a noun 2016-11-30 10:18:45 +00:00
Serhiy Storchaka 0092bc7279 Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
2016-11-26 13:43:39 +02:00
Senthil Kumaran 75d7b615ba Prevent HTTPoxy attack (CVE-2016-1000110)
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue reported and patch contributed by Rémi Rampin.
2016-07-30 05:49:53 -07:00
Martin Panter fcd7d34afb Issue #25570: Add example of customizing User-Agent via add_header() 2016-06-01 08:20:22 +00:00
Serhiy Storchaka 12d547a80d Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
2016-05-10 13:45:32 +03:00
Serhiy Storchaka b4905efe23 Issue #26736: Used HTTPS for external links in the documentation if possible. 2016-05-07 10:50:12 +03:00
Serhiy Storchaka 9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Martin Panter 6a8163a928 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
2016-04-15 02:14:19 +00:00
Senthil Kumaran 9c61f2e45b Fix userinfo example presented in urllib2 howto. 2016-02-05 19:35:57 -08:00
Benjamin Peterson 1b822d0e2f use a more modern UA (#25145) 2015-09-20 23:16:45 +05:00
Benjamin Peterson c717e08720 remove reference to PyGoogle (#25145)
Patch by Bar Harel.
2015-09-20 23:17:41 +05:00
Georg Brandl 0ffb46261c Fixing broken links in doc, part 2: howto/ 2014-10-29 09:37:43 +01:00
Georg Brandl 06f3b3b98c Use https:// URLs when referring to python.org hosts. 2014-10-29 08:36:35 +01:00
Serhiy Storchaka b712873a63 Removed spaces before colons and semicolons. 2013-12-24 11:04:06 +02:00
Serhiy Storchaka 610f84af0d Removed spaces before commas and periods. 2013-12-23 18:19:34 +02:00
R David Murray fc45ce870f #7152: Remove incorrectly added reference to DataHandler. 2013-04-28 17:04:53 -04:00
R David Murray 6596041464 Reflow paragraph. 2013-04-28 11:20:46 -04:00
R David Murray 806c1c939d #7152: Clarify that ProxyHandler is added only if proxy settings are detected.
Behavior confirmation and initial patch by Jessica McKellar.
2013-04-28 11:16:21 -04:00
Andrew Svetlov 1625d88709 Issue #16341: convert examples to use except ... as ... syntax. 2012-10-30 21:56:43 +02:00
Senthil Kumaran 7c06801638 Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 01:03:35 -07:00
Sandro Tosi 45c6a3cae7 Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa 2012-04-24 17:36:14 +02:00
Georg Brandl f364ce242d Fix function name: open -> urlopen. 2011-07-23 08:06:33 +02:00
Georg Brandl d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Ezio Melotti dd89705c8c #6536 fixed typo 2009-07-21 20:18:27 +00:00
Georg Brandl bc4af35f9e #6086: fix spelling and use a better exception to catch. 2009-05-22 10:40:00 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Georg Brandl fc29f27c16 #4811: fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.
2009-01-02 20:25:14 +00:00
Andrew M. Kuchling db74c8a309 Markup fixes 2008-09-30 13:00:51 +00:00
Georg Brandl 0267781742 Fix lots of broken links in the docs, found by Sphinx' external link checker. 2008-03-15 00:20:19 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00
Georg Brandl f56181ff53 Delete the LaTeX doc tree. 2007-08-15 14:26:55 +00:00
Georg Brandl e7fe6c3db2 Patch #1765839: add link to https+proxy urllib2 opener. 2007-08-06 07:52:20 +00:00
George Yoshida 00f6e1905a Apply patch #1492255 from Mike Foord. 2006-05-21 04:40:32 +00:00
George Yoshida b688b6c30a Apply patch #1492147 from Mike Foord. 2006-05-20 18:07:26 +00:00
Georg Brandl d419a93fbc Apply patch #1489784 from Michael Foord. 2006-05-17 14:11:36 +00:00
Andrew M. Kuchling fb10858fe7 [Patch #1479977] Revised version of urllib2 HOWTO, edited by John J. Lee 2006-05-07 17:12:12 +00:00
Andrew M. Kuchling 4b5caae8b9 Add urllib2 HOWTO from Michael Foord 2006-04-30 21:19:31 +00:00