From e15ae8f9a757447807932f29c0b6af687e1d6a85 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 9 Mar 2012 07:55:54 -0800 Subject: [PATCH] v0.10.8 --- HISTORY.rst | 7 +++++++ requests/__init__.py | 4 ++-- requests/defaults.py | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 301d23a..6bf50f2 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,13 @@ History ------- +0.10.8 (2012-03-09) ++++++++++++++++++++ + +* Generate chunked ValueError fix +* Proxy configuration by environment variables + + 0.10.7 (2012-03-07) +++++++++++++++++++ diff --git a/requests/__init__.py b/requests/__init__.py index 6e68c81..73d81f6 100644 --- a/requests/__init__.py +++ b/requests/__init__.py @@ -15,8 +15,8 @@ requests """ __title__ = 'requests' -__version__ = '0.10.7' -__build__ = 0x001007 +__version__ = '0.10.8' +__build__ = 0x001008 __author__ = 'Kenneth Reitz' __license__ = 'ISC' __copyright__ = 'Copyright 2012 Kenneth Reitz' diff --git a/requests/defaults.py b/requests/defaults.py index 7b6c451..9af9773 100644 --- a/requests/defaults.py +++ b/requests/defaults.py @@ -18,6 +18,7 @@ Configurations: :pool_maxsize: The maximium size of an HTTP connection pool. :pool_connections: The number of active HTTP connection pools to use. :encode_uri: If true, URIs will automatically be percent-encoded. +:trust_env: If true, the surrouding environment will be trusted (environ, netrc). """ SCHEMAS = ['http', 'https'] @@ -42,5 +43,6 @@ defaults['danger_mode'] = False defaults['safe_mode'] = False defaults['keep_alive'] = True defaults['encode_uri'] = True +defaults['trust_env'] = True -- 2.34.1