This should be done automatically if you call you action with .rss

On Apr 8, 10:45 am, Thadeus Burgess <[email protected]> wrote:
> response.headers['Content-Type'] = 'applications/rss+xml'
>
> -Thadeus
>
> On Thu, Apr 8, 2010 at 10:31 AM, Francisco Costa
>
> <[email protected]> wrote:
> > Hello,
> > When validating my feed i get this recomendation:
> > Feeds should not be served with the "text/html" media type:
> >http://beta.feedvalidator.org/docs/warning/UnexpectedContentType.html
>
> > How can I change the MIME type for application/rss+xml ?
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "web2py-users" 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 
> > athttp://groups.google.com/group/web2py?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.

Reply via email to