On Jan 9, 2008 2:16 PM, Kevin Baker <[EMAIL PROTECTED]> wrote: > Is there any documentation on what is going on under the hood for the > global response object in the controller? I'd like to get a better > sense of how I would: > * add header mime-type information
Somewhere. Look on pythonpaste.org or in the source code under paste.request and paste.response. You can also use the comparision between these and WebOb -- the system Pylons 0.9.7 will use -- to reverse engineer the API. http://pythonpaste.org/webob/differences.html#paste-wsgiwrappers-and-pylons > * use other commands like abort() That's not a response thing. Your controllers "import *" the base controller module (myapp.lib.base). That in turn imports "abort" from pylons.controllers.util, which is where it's defined. > Also are other people using AuthKit or is it sort of an outdated > concept? The feature set looks great, but thinking I'd want some > abstraction to simplify it a bit for my app. If it is not the > "standard" way to go I'll write custom... AuthKit is the only comprehensive authentication/authorization system available for Pylons. Users have reported mixed experience with it -- some good and some bad -- so you'll have to decide for yourself whether to use it. The alternative is to write your own code. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
