summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorjcgregorio <devnull@localhost>2006-05-08 01:06:37 +0000
committerjcgregorio <devnull@localhost>2006-05-08 01:06:37 +0000
commite34942dc99ed2c97375b68d14af1f519301423ea (patch)
treea9a6ae9f4f62f41c171dc96492320809e738aa13 /index.html
parentfd22e434835b9c2cfddcba21e1a8722a1e6c2b9a (diff)
downloadhttplib2-e34942dc99ed2c97375b68d14af1f519301423ea.tar.gz
fix typo in example
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'} )