summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index 7174292..afa0369 100644
--- a/index.html
+++ b/index.html
@@ -80,7 +80,7 @@ and Basic authentication:</p>
<pre><code>import httplib2
h = httplib2.Http(".cache")
-h.add_credentals('name', 'password')
+h.add_credentials('name', 'password')
resp, content = h.request("https://example.org/chap/2",
"PUT", body="This is text",
headers={'content-type':'text/plain'} )