How does SimpleWorkerRequest associate MIME types with extensions?

Posted by Justin Dearing on Stack Overflow See other posts from Stack Overflow or by Justin Dearing
Published on 2010-04-04T12:27:24Z Indexed on 2010/04/04 12:33 UTC
Read the original article Hit count: 560

I was serving html referencing svg files in Cassini, and having problems since the mime type was not being sent properly. I ended up writing my own port of Cassini that set the extension based on mime type.

After a good night of sleep I realized that there might be some sort of registry key or config file where I can configure custom mime types for SimpleWorkerRequest, the .NET class that serves content through Casinni. However, I don't know what that is.

© Stack Overflow or respective owner

Related posts about simpleworkerrequest

Related posts about mimetypes