Ignore:
Timestamp:
10/03/09 13:31:56 (12 years ago)
Author:
pjkersha
Message:

Moved DemoRenderingInterface? from ndg.security.server.wsgi.openid.provider into it's own module ndg.security.server.wsgi.openid.provider.renderinginterface.demo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/wsgi/pep/__init__.py

    r5037 r5087  
    8888            url = 'http://' + serverName + self.mountPath + self.pathInfo 
    8989            return self._redirect(start_response, url) 
    90          
    91          
    92     def _redirect(self, start_response, url): 
    93         """Do a HTTP 302 redirect 
    94          
    95         @type start_response: callable following WSGI start_response convention 
    96         @param start_response: WSGI start response callable 
    97         @type url: basestring 
    98         @param url: URL to redirect to 
    99         @rtype: list 
    100         @return: empty HTML body 
    101         """ 
    102         start_response('302 %s' % httplib.responses[302],  
    103                        [('Content-type', 'text/html'+self.charset), 
    104                         ('Location', url)]) 
    105         return [] 
    10690 
Note: See TracChangeset for help on using the changeset viewer.