thx!
On Nov 7, 4:08 pm, Anand <[EMAIL PROTECTED]> wrote:
> On 07-Nov-07, at 6:58 PM, slav0nic wrote:
>
>
>
> > a must write all time in all classes methods
> > web.header("Content-Type","text/html; charset=utf-8")
>
> > can i do this onсe?
>
> add a loadhook.
>
> def setheader():
> web.header("Content-Type","text/html; charset=utf-8")
>
> web.loadhooks['setheader'] = setheader
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---