Skip to content
Myr

Fix httpbin urls with missing .org

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Johannes · committed by Johannes · parent 5ca5b7e · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:docs/user/advanced.rst+3 added-3 removed
185 unmodified lines
186anything, nothing else is effected.187188Let's print some request method arguments at runtime::189190 >>> requests.get('http://httpbin', hooks=dict(args=print_url))191 http://httpbin190 >>> requests.get('http://httpbin.org', hooks=dict(args=print_url))191 http://httpbin.org192 <Response [200]>193194Let's hijack some arguments this time with a new callback::195
9 unmodified lines
205 headers = dict(yo=dawg)206207And give it a try::208209 >>> requests.get('http://httpbin/headers', hooks=hooks, headers=headers)209 >>> requests.get('http://httpbin.org/headers', hooks=hooks, headers=headers)210 {211 "headers": {212 "Content-Length": "",213 "Accept-Encoding": "gzip",
80 unmodified lines