# HG changeset patch # User Jeff Hammel # Date 1388180988 28800 # Node ID afeb01315ab68d1c6438e525dfc2189d3554cbbe # Parent d95ac066cb6208b6b7a3b6422fa796a4288dadce example/persona.py diff -r d95ac066cb62 -r afeb01315ab6 example/persona.py --- a/example/persona.py Fri Dec 27 13:45:10 2013 -0800 +++ b/example/persona.py Fri Dec 27 13:49:48 2013 -0800 @@ -6,6 +6,7 @@ https://login.persona.org/about """ +import browserid import optparse import os import sys @@ -28,6 +29,8 @@ body = self.page elif method == 'POST': content_type = 'text/plain' + assertion = request.POST.get('assertion') + print ("Assertion: %s" % assertion) body = '\n'.join(['%s: %s' % (key, environ[key]) for key in sorted(environ.keys())]) else: