Hi Cedric,
I’m using Python 2.7.2. There seems to be differences between the two. I
would adapt your code to do the job of _set_hostport and set host and port
separately. They are public attributes in any case.
Cheers,
Phil
On 8 Jul 2014, at 13:50, Cedric Lebrun wrote:
> Hi Philip,
>
> I
Hi Philip,
I'm using Python 2.7 as well (2.7.7).
And Libcloud 0.15.1
Cedric
-Original Message-
From: philip.kers...@stfc.ac.uk [mailto:philip.kers...@stfc.ac.uk]
Sent: mardi 8 juillet 2014 12:03
To: dev@libcloud.apache.org
Subject: Re: [dev] Libcloud behind ISA Proxy
Hi Cedric,
What v
Hi Tomaz,
I’d be happy to work with Cedric and anyone else to get a solution merged in.
Cheers,
Phil
On 8 Jul 2014, at 10:07, Tomaz Muraus wrote:
> I remember seeing this question in the past.
>
> It would be great if we could get those changes working in all the
> supported Python versions,
Hi Cedric,
What version of Python are you using?
In my Python 2.7 installation, _set_hostport is a method of
httplib.HTTPConnection. It basically does some format checking and assigns
host and port number.
Clearly some more work will be needed for a generic solution across supported
versions
Hi Philip,
Thanks for your help.
But after patching httplib_ssl, I fall into now another error:
AttributeError: LibcloudHTTPSConnection instance has no attribute
'_set_hostport'
Cedric
-Original Message-
From: philip.kers...@stfc.ac.uk [mailto:philip.kers...@stfc.ac.uk]
Sent: mardi 8
I remember seeing this question in the past.
It would be great if we could get those changes working in all the
supported Python versions, tested and merged upstream.
On Tue, Jul 8, 2014 at 9:56 AM, wrote:
> Hi Cedric,
>
> I ran into the same issue and patched libcloud.httplib_ssl. I’ve includ
Hi Cedric,
I ran into the same issue and patched libcloud.httplib_ssl. I’ve included the
code snippets below. The proxy I use doesn’t require authentication but
hopefully you can adapt to make it do what you need. I tested with Python 2.7
- may need tweaking for Python 3.
Cheers,
Phil
I m