Re: manipulate header before sending response

2010-04-19 Thread Tim Arnold
On Apr 19, 3:12 pm, Shawn Milochik wrote: > You can create your own middleware. > > http://docs.djangoproject.com/en/1.1/topics/http/middleware/ > > Shawn > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email

Re: manipulate header before sending response

2010-04-19 Thread Shawn Milochik
You can create your own middleware. http://docs.djangoproject.com/en/1.1/topics/http/middleware/ Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this

manipulate header before sending response

2010-04-19 Thread Tim Arnold
hi, I have a static webpage which is out of my control (created in some other process). I want to show the page to the user, but I need to add a stylesheet to the header first. Is there a way to receive the request, add the to the header for the stylesheet and then serve the webpage? thanks, --T