From 614851ac0cdbdd44b7ba28d77c01faefa7ac0d77 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Tue, 11 Nov 2008 17:07:29 -0800 Subject: [PATCH] Port of http://svn.secondlife.com/trac/eventlet/changeset/154: Expose use_proxy flag via http post. Reviewed by Leyla. --- eventlet/httpc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eventlet/httpc.py b/eventlet/httpc.py index ad782d3..b713a45 100644 --- a/eventlet/httpc.py +++ b/eventlet/httpc.py @@ -667,8 +667,8 @@ class HttpSuite(object): return self.delete_(*args, **kwargs)[-1] def post_( - self, url, data='', headers=None, content_type=None,ok=None, - aux=None, connection=None): + self, url, data='', headers=None, use_proxy=False, content_type=None, + ok=None, aux=None, connection=None): if headers is None: headers = {} if 'content-type' not in headers: @@ -681,7 +681,7 @@ class HttpSuite(object): _Params( url, 'POST', body=data, headers=headers, loader=self.loader, - dumper=self.dumper, ok=ok, aux=aux), + dumper=self.dumper, use_proxy=use_proxy, ok=ok, aux=aux), connection) def post(self, *args, **kwargs):