Fix httpbin urls with missing .org
authorJohannes <johtso@gmail.com>
Thu, 26 Jan 2012 02:13:04 +0000 (02:13 +0000)
committerJohannes <johtso@gmail.com>
Thu, 26 Jan 2012 02:13:04 +0000 (02:13 +0000)
docs/user/advanced.rst

index cb35215ba23143338b0c6b5eb0e8d956ab786d63..aec9cacf3ce442af30ed2b4f7c32060802c70bf9 100644 (file)
@@ -187,8 +187,8 @@ anything, nothing else is effected.
 
 Let's print some request method arguments at runtime::
 
-    >>> requests.get('http://httpbin', hooks=dict(args=print_url))
-    http://httpbin
+    >>> requests.get('http://httpbin.org', hooks=dict(args=print_url))
+    http://httpbin.org
     <Response [200]>
 
 Let's hijack some arguments this time with a new callback::
@@ -206,7 +206,7 @@ Let's hijack some arguments this time with a new callback::
 
 And give it a try::
 
-    >>> requests.get('http://httpbin/headers', hooks=hooks, headers=headers)
+    >>> requests.get('http://httpbin.org/headers', hooks=hooks, headers=headers)
     {
         "headers": {
             "Content-Length": "",