source: TI12-security/trunk/python/Tests/urllib2secure_request/__init__.py @ 5350

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Tests/urllib2secure_request/__init__.py@5350
Revision 5350, 2 bytes checked in by pjkersha, 12 years ago (diff)

Demonstration code to try out urllib2 call to NDG Security secured URI. Use case from DOm's COWS client code that requires this type of request from a Pylons controller. Code shows how to deal with 401 and 403 responses from security middleware.

Line 
1
2
Note: See TracBrowser for help on using the repository browser.