Skip to content

Commit

Permalink
Fix NameError in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Feb 14, 2011
1 parent d6e7e19 commit 8fd480d
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions README.rst
@@ -1,22 +1,6 @@
Requests: The Simple (e.g. usable) HTTP Module
==============================================

::

::::::::: :::::::::: :::::::: ::: ::: :::::::::: :::::::: ::::::::::: ::::::::
:+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+
+#++:++#: +#++:++# +#+ +:+ +#+ +:+ +#++:++# +#++:++#++ +#+ +#++:++#++
+#+ +#+ +#+ +#+ # +#+ +#+ +#+ +#+ +#+ +#+ +#+
#+# #+# #+# #+# +#+ #+# #+# #+# #+# #+# #+# #+# #+#
### ### ########## ###### ### ######## ########## ######## ### ########



Overview
--------

Most existing Python modules for dealing HTTP requests are insane. I have to look up *everything* that I want to do. Most of my worst Python experiences are a result of the various built-in HTTP libraries (yes, even worse than Logging).

But this one's different. This one's going to be awesome. And simple.
Expand Down Expand Up @@ -52,7 +36,7 @@ HTTPS? Basic Authentication? ::
Uh oh, we're not authorized! Let's add authentication. ::
>>> conv_auth = requests.AuthObject('requeststest', 'requeststest')
>>> r = requests.get('https://convore.com/api/account/verify.json', conv_auth=auth)
>>> r = requests.get('https://convore.com/api/account/verify.json', auth=conv_auth)
>>> r.status_code
200
Expand Down

0 comments on commit 8fd480d

Please sign in to comment.