On 24/05/10 15:52 +0200, David Lutterkort wrote: > >It doesn't seem to cause trouble, but shouldn't the above check against >Rack::Mime::MIME_TYPES, i.e. the list of all known extensions for mime >types, not just the text ones ?
Yes, I added a simple change before I pushed this to allow 'png' files for example. But checking against Rack::Mime::MIME_TYPES sounds better to me. -- Michal -- -------------------------------------------------------- Michal Fojtik, [email protected], +420 532 294 4307 Ruby / Ruby On Rails Developer Deltacloud API: http://deltacloud.org -------------------------------------------------------- _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
