Tweak
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Tom Christie · committed by Tom Christie · parent 33a2249 · Browse files · 1 file·+6 added−6 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+6 added−6 removed
- other:+6 added−6 removed
Provenance
- Commit
52372ad- Tree
4db206c- Author
Tom Christie <tom@tomchristie.com>- Committer
Tom Christie <tom@tomchristie.com>- Parent
33a2249
1 file changed+6 added−6 removed
modified:README.md+6 added-6 removed
96 unmodified lines97 >>> response = client.get('https://example.org')98 ```99 100 * `def __init__([auth], [cookies], [ssl], [timeout], [pool_limits], [max_redirects], [dispatch])`101-* `def .request(method, url, [content], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`101+* `def .request(method, url, [data], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`102 * `def .get(url, [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`103 * `def .options(url, [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`104 * `def .head(url, [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`105-* `def .post(url, [content], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`106-* `def .put(url, [content], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`107-* `def .patch(url, [content], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`108-* `def .delete(url, [content], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`105+* `def .post(url, [data], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`106+* `def .put(url, [data], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`107+* `def .patch(url, [data], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`108+* `def .delete(url, [data], [params], [headers], [cookies], [auth], [stream], [allow_redirects], [ssl], [timeout])`109 * `def .prepare_request(request)`110 * `def .send(request, [stream], [allow_redirects], [ssl], [timeout])`111 * `def .close()`112 31 unmodified lines144 >>> request = Request("GET", "https://example.org", headers={'host': 'example.org'})145 >>> response = client.send(request)146 ```147 148-* `def __init__(method, url, params, [content], [headers], [cookies])`148+* `def __init__(method, url, [params], [data], [headers], [cookies])`149 * `.method` - **str**150 * `.url` - **URL**151 * `.content` - **byte** or **byte async iterator**152 * `.headers` - **Headers**98 unmodified lines