On Jan 1, 2009, at 3:25 AM, Nopparat C wrote:

>
> I am learning to do RIA application using curl and pylons. I wonder if
> there is a way to configure MIME types for static files like I usually
> do in apache
>
>   AddType text/vnd.curl .curl
>   AddType text/vnd.curl.dcurl .dcurl

You just need to register these with Python's mimetypes module. The  
WSGI middleware that serves static files, paste.fileapp.FileApp, uses  
that module to determine content-types.

--
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 pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to