from pylons import response

that should  give you a request local proxy to the webob response
object, that you can just use.

so you can write code like this in your controller methods

response.status_int = 404


On Thu, Mar 27, 2008 at 6:11 PM, John Beaver <[EMAIL PROTECTED]> wrote:
>
>  Hi, I'm starting a project using the current TG2 trunk. How do set
>  response headers from a controller and/or access the WebOb (?)
>  response object? I'm trying to serve up a jnlp file.
>
>  >
>



-- 
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to