Fix httpbin urls with missing .org

This commit is contained in:
Johannes
2012-01-26 02:13:04 +00:00
parent 5ca5b7ec65
commit ca57e93ebf
+3 -3
View 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": "",