[Twisted-Python] Question about twisted.web
Thomas Jacob
jacob at internet24.de
Mon May 7 02:09:22 MDT 2007
1. (client cert)
Probably with the following class method, but I've never used it myself:
http://twistedmatrix.com/documents/current/api/twisted.internet.ssl.Certificate.html#peerFromTransport
2. (client ip)
http://twistedmatrix.com/documents/current/api/twisted.web.http.Request.html
class Res(resource.Resource):
def render_GET(self, request):
request.getClientIP()
On Sun, 2007-05-06 at 11:53 -0400, Chaz. wrote:
> I have two questions about twisted.web that I am hoping someone can
> assist on. First, if I connect to my service via HTTPS how can I get the
> certificate of the client (I require them to have a certificate)?
> Secondly, how can I get the name or IP address of the machine that is
> talking to me?
>
> Thanks,
> Chaz
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: </pipermail/twisted-python/attachments/20070507/4a4fee39/attachment.sig>
More information about the Twisted-Python
mailing list