On May 31, 2002 11:31 am, Ian Bicking wrote:
> On Fri, 2002-05-31 at 13:10, Tavis Rudd wrote:
> > It's based on Steve Purcell's httpsession.py. Unfortunately I've recently
> > discovered that httpsession.py is based on Python's original urllib
> > rather than urllib2 so it doesn't work with https requests.  That
> > shouldn't be a problem for testing WebKit though.
>
> I've been using httpsession with SSL without a problem... I think
> httpsession uses httplib, not urllib.

Turns out he's updated it since I tested.  The version I was using contained 
this line:
  elif self.scheme != 'http':
            raise HTTPRequestError, 'unsupported url scheme %s' % self.scheme
which has now been replaced with:
       elif self.scheme == 'http':
            self._request = httplib.HTTP()
        elif self.scheme == 'https' and hasattr(httplib, 'HTTPS'):
            self._request = httplib.HTTPS()
        else:
            raise HTTPRequestError, 'unsupported url scheme %s' % self.scheme

Tavis

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to