Skip to content
Myr

Readme Updates

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 897dd3a · Browse files · 1 file+5 added−2 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+5 added−2 removed

  • other:+5 added−2 removed

1 file+5 added−2 removed

modified:README.rst+5 added-2 removed
14 unmodified lines
15 + Simple Data/Params Request Attachment16 + Simple Multipart File Uploads17 + CookieJar Support1819- Simple Basic HTTP Authentication19- Simple Authentication20 + Simple URL + HTTP Auth Registry212223Usage
13 unmodified lines
373839Uh oh, we're not authorized! Let's add authentication. ::4041 >>> conv_auth = requests.AuthObject('requeststest', 'requeststest')41 >>> conv_auth = ('requeststest', 'requeststest')42 >>> r = requests.get('https://convore.com/api/account/verify.json', auth=conv_auth)4344 >>> r.status_code45 200
53 unmodified lines
99100 Response.ok101 (Bool) True if no errors occurred during the request, and the status_code is kosher.102103 Response.cached104 (Bool) True if Response.content is stored within the object.105106 Response.error107 (HTTPError) If an HTTPError occurred (e.g. status of 404), Otherwise this is None.108109 Response.raise_for_status()
43 unmodified lines