Ask Bjørn Hansen
2005-Aug-28 02:31 UTC
mime.types configuration for webrick (scripts/server)
I had trouble with the webrick server (as used via scripts/server) serving my .js files as application/octet-stream. I made a patch for it so I can run "./scripts/server --mime-types / private/etc/httpd/mime.types" to have it load the mime.types configuration from Apache on my mac. It is at http://dev.rubyonrails.org/ticket/2059 - ask -- http://www.askbjoernhansen.com/