On Jul 8, 2006, at 8:39 PM, Omar El-Domeiri wrote:

>
> I'm curious if I'm adding my own resposne headers in the perfered
> manner.
> I've been doing this as follows:
>
> class HelloController(BaseController):
>     def index(self):
>         request.headers_out.add('Field-Name', 'Value')
>         m.write('Hello World')
>

In 0.8.x, yes

--
Philip Jenvey


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to