On Sat, Jan 5, 2013 at 2:00 AM, Hans Mulder wrote:
> It the proxy URL is http://192.168.24.25/, then the client should send
> GET requests to the proxy in both cases, and the proxy should send GET
> or CONNECT to the origin server, depending on whether origin URL uses
> SSL.
>
> If the proxy URL i
On 4/01/13 03:56:47, Chris Angelico wrote:
> On Fri, Jan 4, 2013 at 5:53 AM, Ray Cote
> wrote:
>> proxies = {
>> 'https': '192.168.24.25:8443',
>> 'http': '192.168.24.25:8443', }
>>
>> a = requests.get('http://google.com/', proxies=proxies)
>>
>>
>> When I look at the proxy log, I see a GE
On Fri, Jan 4, 2013 at 5:53 AM, Ray Cote
wrote:
> proxies = {
> 'https': '192.168.24.25:8443',
> 'http': '192.168.24.25:8443', }
>
> a = requests.get('http://google.com/', proxies=proxies)
>
>
> When I look at the proxy log, I see a GET being performed -- when it should
> be a CONNECT.
>
Thank you.
--Ray
- Original Message -
From: "Barry Scott"
To: "Ray Cote"
Cc: python-list@python.org
Sent: Thursday, January 3, 2013 5:48:52 PM
Subject: Re: Missing something obvious with python-requests
The shipped python library code does not work.
See ht
The shipped python library code does not work.
See http://bugs.python.org/issue7291 for patches.
Barry
On 3 Jan 2013, at 18:53, Ray Cote wrote:
> Hello List:
>
> I seem to be missing something obvious in terms of using proxies with the
> requests module.
> I'm using requests 1.4 and Python
Hello List:
I seem to be missing something obvious in terms of using proxies with the
requests module.
I'm using requests 1.4 and Python 2.7. Have tried this on Centos 6 and Windows
XP.
Here's the sample code, right out of the manual:
import requests
proxies = {
'https': '192.168.24.25:8