aboutsummaryrefslogtreecommitdiff
path: root/PKG-INFO
diff options
context:
space:
mode:
Diffstat (limited to 'PKG-INFO')
-rw-r--r--PKG-INFO47
1 files changed, 32 insertions, 15 deletions
diff --git a/PKG-INFO b/PKG-INFO
index ad13d55..28554d0 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,13 +1,13 @@
Metadata-Version: 1.0
Name: requests
-Version: 0.4.1
+Version: 0.5.0
Summary: Awesome Python HTTP Library that's actually usable.
Home-page: http://python-requests.org
Author: Kenneth Reitz
Author-email: me@kennethreitz.com
License: ISC
-Description: Requests: The Simple (e.g. usable) HTTP Module
- ==============================================
+Description: Requests: HTTP for Humans
+ =========================
Most existing Python modules for dealing HTTP requests are insane. I have to look up *everything* that I want to do. Most of my worst Python experiences are a result of the various built-in HTTP libraries (yes, even worse than Logging).
@@ -18,12 +18,13 @@ Description: Requests: The Simple (e.g. usable) HTTP Module
Features
--------
- - Extremely simple GET, HEAD, POST, PUT, DELETE Requests
+ - Extremely simple HEAD, GET, POST, PUT, PATCH, DELETE Requests
+ Simple HTTP Header Request Attachment
+ Simple Data/Params Request Attachment
+ Simple Multipart File Uploads
+ CookieJar Support
+ Redirection History
+ + Proxy Support
+ Redirection Recursion Urllib Fix
+ Auto Decompression of GZipped Content
+ Unicode URL Support
@@ -43,15 +44,14 @@ Description: Requests: The Simple (e.g. usable) HTTP Module
HTTPS? Basic Authentication? ::
- >>> r = requests.get('https://convore.com/api/account/verify.json')
+ >>> r = requests.get('https://httpbin.ep.ip/basic-auth/user/pass')
>>> r.status_code
401
Uh oh, we're not authorized! Let's add authentication. ::
- >>> conv_auth = ('requeststest', 'requeststest')
- >>> r = requests.get('https://convore.com/api/account/verify.json', auth=conv_auth)
+ >>> r = requests.get(https://httpbin.ep.ip/basic-auth/user/pass', auth=('user', 'pass'))
>>> r.status_code
200
@@ -60,7 +60,7 @@ Description: Requests: The Simple (e.g. usable) HTTP Module
'application/json'
>>> r.content
- '{"username": "requeststest", "url": "/users/requeststest/", "id": "9408", "img": "censored-long-url"}'
+ '{"authenticated": true, "user": "user"}'
@@ -74,24 +74,28 @@ Description: Requests: The Simple (e.g. usable) HTTP Module
If a {filename: fileobject} dictionary is passed in (files=...), a multipart_encode upload will be performed.
If CookieJar object is is passed in (cookies=...), the cookies will be sent with the request.
+ HEAD Requests
+ >>> requests.head(url, params={}, headers={}, cookies=None, auth=None, timeout=None, proxies={})
+ <Response [200]>
+
GET Requests
- >>> requests.get(url, params={}, headers={}, cookies=None, auth=None)
+ >>> requests.get(url, params={}, headers={}, cookies=None, auth=None, timeout=None, proxies={})
<Response [200]>
- HEAD Requests
- >>> requests.head(url, params={}, headers={}, cookies=None, auth=None)
+ POST Requests
+ >>> requests.post(url, data={}, headers={}, files={}, cookies=None, auth=None, timeout=None, allow_redirects=False, params{}, proxies={})
<Response [200]>
PUT Requests
- >>> requests.put(url, data='', headers={}, files={}, cookies=None, auth=None)
+ >>> requests.put(url, data={}, headers={}, files={}, cookies=None, auth=None, timeout=None, allow_redirects=False, params{}, proxies={})
<Response [200]>
- POST Requests
- >>> requests.post(url, data={}, headers={}, files={}, cookies=None, auth=None)
+ PATCH Requests
+ >>> requests.post(url, data={}, headers={}, files={}, cookies=None, auth=None, timeout=None, allow_redirects=False, params{}, proxies={})
<Response [200]>
DELETE Requests
- >>> requests.delete(url, params={}, headers={}, cookies=None, auth=None)
+ >>> requests.delete(url, params={}, headers={}, cookies=None, auth=None, timeout=None, allow_redirects=False, params{}, proxies={})
<Response [200]>
@@ -167,6 +171,19 @@ Description: Requests: The Simple (e.g. usable) HTTP Module
History
-------
+ 0.5.0 (2011-06-21)
+ ++++++++++++++++++
+
+ * PATCH Support
+ * Support for Proxies
+ * HTTPBin Test Suite
+ * Redirect Fixes
+ * settings.verbose stream writing
+ * Querystrings for all methods
+ * URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicity raised
+ ``r.requests.get('hwe://blah'); r.raise_for_status()``
+
+
0.4.1 (2011-05-22)
++++++++++++++++++