Typos fix from Blair Zajac
diff --git a/README b/README
index a2a33f9..f1b0a22 100644
--- a/README
+++ b/README
@@ -70,7 +70,7 @@
import httplib2
h = httplib2.Http(".cache")
- h.add_credentals('name', 'password')
+ h.add_credentials('name', 'password')
(resp, content) = h.request("https://example.org/chapter/2",
"PUT", body="This is text",
headers={'content-type':'text/plain'} )
diff --git a/httplib2test.py b/httplib2test.py
index 9d04eab..895d5ae 100755
--- a/httplib2test.py
+++ b/httplib2test.py
@@ -193,7 +193,7 @@
self.fail("Threw wrong kind of exception ")
def testGet302ViaHttps(self):
- # goole always redirects to http://google.com
+ # Google always redirects to http://google.com
(response, content) = http.request("https://google.com", "GET")
self.assertEqual(200, response.status)
self.assertEqual(302, response._previous.status)
@@ -460,7 +460,7 @@
self.assertEqual(response.status, 200)
def testBasicAuthTwoDifferentCredentials(self):
- # Test Basic Authentication with multple sets of credentials
+ # Test Basic Authentication with multiple sets of credentials
uri = urlparse.urljoin(base, "basic2/file.txt")
(response, content) = http.request(uri, "GET")
self.assertEqual(response.status, 401)
@@ -488,7 +488,7 @@
(response, content) = http.request(uri, "GET")
self.assertEqual(response.status, 401)
- # Now add in creditials one at a time and test.
+ # Now add in credentials one at a time and test.
http.add_credentials('joe', 'password')
uri = urlparse.urljoin(base, "basic-nested/")