doco: Fix small typos
MODIFY
src/urllib3/contrib/appengine.py
src/urllib3/contrib/appengine.py
@@ -90,7 +90,7 @@ class AppEngineManager(RequestMethods):
* If you attempt to use this on App Engine Flexible, as full socket
support is available.
* If a request size is more than 10 megabytes.
- * If a response size is more than 32 megabtyes.
+ * If a response size is more than 32 megabytes.
* If you use an unsupported request method such as OPTIONS.
Beyond those cases, it will raise normal urllib3 errors.

MODIFY
src/urllib3/response.py
src/urllib3/response.py
@@ -290,7 +290,7 @@ class HTTPResponse(io.IOBase):
@property
def data(self):
- # For backwords-compat with earlier urllib3 0.4 and earlier.
+ # For backwards-compat with earlier urllib3 0.4 and earlier.
if self._body:
return self._body

MODIFY
test/appengine/test_gae_manager.py
test/appengine/test_gae_manager.py
@@ -65,7 +65,7 @@ class TestGAEConnectionManager(test_connectionpool.TestConnectionPool):
with pytest.raises(appengine.AppEnginePlatformError):
self.pool.request(
"GET", "/nbytes?length=33554433"
- ) # One byte over 32 megabtyes.
+ ) # One byte over 32 megabytes.
# URLFetch reports the request too large error as a InvalidURLError,
# which maps to a AppEnginePlatformError.

MODIFY
test/test_response.py
test/test_response.py
@@ -703,7 +703,7 @@ class TestResponse(object):
assert c == stream[i]
def test_mock_gzipped_transfer_encoding_chunked_decoded(self):
- """Show that we can decode the gizpped and chunked body."""
+ """Show that we can decode the gzipped and chunked body."""
def stream():
# Set up a generator to chunk the gzipped body

doco: Fix small typos (#1860)