From ca57e93ebfefd9d60feb29611371b419f2624b5d Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 26 Jan 2012 02:13:04 +0000 Subject: [PATCH] Fix httpbin urls with missing .org --- docs/user/advanced.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index cb35215..aec9cac 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -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 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": "", -- 2.34.1