summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-28 02:33:05 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-05-28 02:33:05 +0000
commit5720493172ab822512dfe3155bef838b68203e3a (patch)
tree3bf142ff2dae3c9a8785204ab1201525d19308aa /Doc/library
parent6ecfab85d9ec39d6398204f9a4be3a299e88c108 (diff)
downloadcpython-git-5720493172ab822512dfe3155bef838b68203e3a.tar.gz
Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URL
Patch by Anish Shah and Aatish Neupane.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/fl.rst2
-rw-r--r--Doc/library/ftplib.rst2
-rw-r--r--Doc/library/httplib.rst2
-rw-r--r--Doc/library/urllib.rst8
-rw-r--r--Doc/library/urllib2.rst2
-rw-r--r--Doc/library/urlparse.rst2
-rw-r--r--Doc/library/xmlrpclib.rst4
7 files changed, 11 insertions, 11 deletions
diff --git a/Doc/library/fl.rst b/Doc/library/fl.rst
index b7551348d8..c5928d571d 100644
--- a/Doc/library/fl.rst
+++ b/Doc/library/fl.rst
@@ -17,7 +17,7 @@
single: Overmars, Mark
This module provides an interface to the FORMS Library by Mark Overmars. The
-source for the library can be retrieved by anonymous ftp from host
+source for the library can be retrieved by anonymous FTP from host
``ftp.cs.ruu.nl``, directory :file:`SGI/FORMS`. It was last tested with version
2.0b.
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index 2d85de1e9f..3ab7b3b6cc 100644
--- a/Doc/library/ftplib.rst
+++ b/Doc/library/ftplib.rst
@@ -16,7 +16,7 @@
This module defines the class :class:`FTP` and a few related items. The
:class:`FTP` class implements the client side of the FTP protocol. You can use
this to write Python programs that perform a variety of automated FTP jobs, such
-as mirroring other ftp servers. It is also used by the module :mod:`urllib` to
+as mirroring other FTP servers. It is also used by the module :mod:`urllib` to
handle URLs that use FTP. For more information on FTP (File Transfer Protocol),
see Internet :rfc:`959`.
diff --git a/Doc/library/httplib.rst b/Doc/library/httplib.rst
index 45d829558e..4bf20067fa 100644
--- a/Doc/library/httplib.rst
+++ b/Doc/library/httplib.rst
@@ -27,7 +27,7 @@ uses it to handle URLs that use HTTP and HTTPS.
.. seealso::
The `Requests package <http://requests.readthedocs.org/>`_
- is recommended for a higher-level http client interface.
+ is recommended for a higher-level HTTP client interface.
.. note::
diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst
index 4c34b90e88..3b5dc16c02 100644
--- a/Doc/library/urllib.rst
+++ b/Doc/library/urllib.rst
@@ -27,7 +27,7 @@ reading, and no seek operations are available.
.. seealso::
The `Requests package <http://requests.readthedocs.org/>`_
- is recommended for a higher-level http client interface.
+ is recommended for a higher-level HTTP client interface.
.. warning:: When opening HTTPS URLs, it does not attempt to validate the
server certificate. Use at your own risk!
@@ -118,7 +118,7 @@ High-level interface
causes environmental proxy settings to be used as discussed above. For
example::
- # Use http://www.someproxy.com:3128 for http proxying
+ # Use http://www.someproxy.com:3128 for HTTP proxying
proxies = {'http': 'http://www.someproxy.com:3128'}
filehandle = urllib.urlopen(some_url, proxies=proxies)
# Don't use any proxies
@@ -297,8 +297,8 @@ Utility functions
.. note::
urllib also exposes certain utility functions like splittype, splithost and
- others parsing url into various components. But it is recommended to use
- :mod:`urlparse` for parsing urls rather than using these functions directly.
+ others parsing URL into various components. But it is recommended to use
+ :mod:`urlparse` for parsing URLs rather than using these functions directly.
Python 3 does not expose these helper functions from :mod:`urllib.parse`
module.
diff --git a/Doc/library/urllib2.rst b/Doc/library/urllib2.rst
index f36890c554..735694e3e0 100644
--- a/Doc/library/urllib2.rst
+++ b/Doc/library/urllib2.rst
@@ -21,7 +21,7 @@ redirections, cookies and more.
.. seealso::
The `Requests package <http://requests.readthedocs.org/>`_
- is recommended for a higher-level http client interface.
+ is recommended for a higher-level HTTP client interface.
The :mod:`urllib2` module defines the following functions:
diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst
index 37f2aae5a7..1f05e5bcae 100644
--- a/Doc/library/urlparse.rst
+++ b/Doc/library/urlparse.rst
@@ -290,7 +290,7 @@ The :mod:`urlparse` module defines the following functions:
Names (URNs) and Uniform Resource Locators (URLs).
:rfc:`2368` - The mailto URL scheme.
- Parsing requirements for mailto url schemes.
+ Parsing requirements for mailto URL schemes.
:rfc:`1808` - Relative Uniform Resource Locators
This Request For Comments includes the rules for joining an absolute and a
diff --git a/Doc/library/xmlrpclib.rst b/Doc/library/xmlrpclib.rst
index 07ed1244bf..e818c3de6a 100644
--- a/Doc/library/xmlrpclib.rst
+++ b/Doc/library/xmlrpclib.rst
@@ -36,7 +36,7 @@ between conformable Python objects and XML on the wire.
.. versionchanged:: 2.7.9
- For https URIs, :mod:`xmlrpclib` now performs all the necessary certificate
+ For HTTPS URIs, :mod:`xmlrpclib` now performs all the necessary certificate
and hostname checks by default.
.. class:: ServerProxy(uri[, transport[, encoding[, verbose[, allow_none[, use_datetime[, context]]]]]])
@@ -65,7 +65,7 @@ between conformable Python objects and XML on the wire.
portion will be base64-encoded as an HTTP 'Authorization' header, and sent to
the remote server as part of the connection process when invoking an XML-RPC
method. You only need to use this if the remote server requires a Basic
- Authentication user and password. If an HTTPS url is provided, *context* may
+ Authentication user and password. If an HTTPS URL is provided, *context* may
be :class:`ssl.SSLContext` and configures the SSL settings of the underlying
HTTPS connection.