It’s a special HTTPS url and searching further it seems to be a SNI problem
talked about here:
http://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support
> 25 okt 2014 kl. 08:48 skrev Joel Goldstick :
>
> On Sat, Oct 25, 2014 at 9:40 AM, Roland Hedbe
Oh, by the way!
To make this more interesting :-/
I saw this behavior on a Linux machine (Ubuntu 14.04 LTS) using Python 2.7.6 if
I do the same exercise
on a Mac OS X machine also with Python 2.7.6 - no problem what so ever.
> 25 okt 2014 kl. 08:40 skrev Roland Hedberg :
>
> When
When I try to access a URL using requests I always get:
socket.error: [Errno 104] Connection reset by peer
If I try to access the same URL using curl I get no error message instead I get
the page.
The same result if I use a web browser like Safari.
But, if I use python httplib I also get Errno
30 sep 2014 kl. 00:55 skrev Ned Deily :
> In article ,
> Roland Hedberg wrote:
>
>> Hi!
>>
>> I¹m trying to access
>> https://stsadweb.one.microsoft.com/adfs/.well-known/openid-configuration
>>
>> Doing it the simplest way I get t
Hi!
I’m trying to access
https://stsadweb.one.microsoft.com/adfs/.well-known/openid-configuration
Doing it the simplest way I get the following:
>>> import urllib
>>> f =
>>> urllib.urlopen("https://stsadweb.one.microsoft.com/adfs/.well-known/openid-configuration";)
Traceback (most recent call
14 aug 2014 kl. 19:54 skrev Chris “Kwpolska” Warrick :
> On 14 August 2014 18:51 "Richard Prosser" wrote:
> >
> > I "need" one for use with Flask, as I don't really have time to implement
> > my own.
>
> You should not implement things on your own if there are existing and same
> implementati
,
RequestHandlerClass)
and then
httpd = MyTCPServer((hostname, port), Handler)
httpd.serve_forever()
and this solved my problem!
So, thanks again Chris!
27 mar 2012 kl. 15:55 skrev Chris Angelico:
> On Wed, Mar 28, 2012 at 12:03 AM, Roland Hedberg wrote:
>>
Hi!
I have an application/a script that is run from another application.
The script is mostly working as a HTTP client but in some cases it also has to
act as a HTTP server.
Basically just for serving a few files. The files are dynamically created by
the script when needed.
To accomplish this I
And then to complicate the picture you have OpenID Connect which is an attempt
at
bringing OpenID and OAuth2.0 together.
By the way I have an implementation of OpenID Connect here:
https://github.com/rohe/pyoidc
-- Roland
27 mar 2012 kl. 11:59 skrev Stuart Bishop:
> On Tue, Mar 27, 2012 at 10
Hi !
Is there a crypto library for Python that has support for GCM ??
-- Roland
--
http://mail.python.org/mailman/listinfo/python-list
too.
https://code.launchpad.net/~roland-hedberg/pysaml2/main
For those using Django you should take notice of what Lorenzo Gil
Sanchez is doing using PySAML2.
https://code.launchpad.net/~lgs/pysaml2/main
2) IdPproxy - a gateway between social media and the SAML2
Hi!
I have the following XML snippet:
http://www.w3.org/2001/XMLSchema-instance";
xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706";
xsi:type="fed:SecurityTokenServiceType">
This part after parsing with Elementtree gives me an Element instance
with the following pr
Hi!
Anyone know if it is possible to use xmlsec together with lxml ?
-- Roland
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
I have a problem with zlib and compressing/decompressing according to
RFC 1951.
It seems like I can decompress, something compressed according to RFC
1951 by someone else, provided I set wbits to something negative (used
-8 but I guess any negative number would work?).
But how can I
Hi!
Anyone got information on python implementations of JSON-RPC ?
I'd like to run a jsonrpc server using mod_python in an Apache server.
I know about, and have used for a while, Jan-Klaas Kollhof's
implementation which used to be at http://json-rpc.org/, but isn't
accessible anymore.
The
Peter Otten wrote:
> Roland Hedberg wrote:
>
>> I'm in the position that I have a bunch of classes defined before hand
>> and then in some special circumstances I need to dynamically create a
>> class that has a number of the static classes as parents.
>>
&
Hi!
I'm in the position that I have a bunch of classes defined before hand
and then in some special circumstances I need to dynamically create a
class that has a number of the static classes as parents.
So I thought I could use classobj() from the new module, it seem exactly
what I wanted.
But,
Or is XMLsig for Dynamic Languages (Ruby, Python, PHP and Perl)
at http://xmlsig.sourceforge.net/ the only option ?
-- Roland
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
Can an instance of a class in a module, in any simple way find out which
other classes that exists in said module ?
-- Roland
--
http://mail.python.org/mailman/listinfo/python-list
Jussi Salmela wrote:
> Roland Hedberg kirjoitti:
>> I'm having a bit of a problem with import.
>>
>> I'm writing a marshalling system that based on a specification will
>> create one or more files containing mostly class definitions.
> Maybe I'm miss
Duncan Booth wrote:
>
> Remember that all statements in Python are executed at the time they are
> encountered: there are no declarations (apart from 'global') so no looking
> ahead to see what classes or functions are coming up.
Yes, I've seen this time and time again.
> One other complicati
Hi!
I'm having a bit of a problem with import.
I'm writing a marshalling system that based on a specification will
create one or more files containing mostly class definitions.
If there are more than one file created (and there are reasons for
creating more than one file in some instances) then
Hi!
This involves quite a lot of different system, so I'm not really sure
who which would be the right list to query.
So, I'm trying a couple, this list being one of them.
I'm trying to build the lasso (http://lasso.entrouvert.org/)
libraries and what I really want to get at is the Python bi
Hi!
The subject says it all.
If there isn't anything already available, does anyone know about
anyone working on something ?
-- Roland
--
http://mail.python.org/mailman/listinfo/python-list
23 aug 2005 kl. 15.14 skrev Sion Arrowsmith:
> Roland Hedberg <[EMAIL PROTECTED]> wrote:
>
>
> The easy solutions are to either change:
>
>
>> def send( self, rdf ):
>> self.s.send( rdf )
>> self.s.send( "\n" )
>>
&
23 aug 2005 kl. 10.14 skrev Michael Sparks:
> Roland Hedberg wrote:
>
>> I was surprised to find that the performance was equal to what
>> Twisted/XMLRPC did. Around 200 ms per set, not significantly less.
>>
>
> That should tell you two things:
>* Twisted/
Hi!
I need a fast protocol to use between a client and a server, both
sides written i Python.
What the protocol has to accomplish is extremely simple; the client
sends a number of lines (actually a RDF) and the server accepts or
rejects the packet. That's all !
Now, presently I'm using
Hi!
Want to use shelve in a program I'm writing, but I encounter a problem.
This is the tail of the traceback I get back:
File "/sw/lib/python2.3/shelve.py", line 231, in open
return DbfilenameShelf(filename, flag, protocol, writeback, binary)
File "/sw/lib/python2.3/shelve.py", line 212, i
28 matches
Mail list logo