mirroring Rack::Mime::MIME_TYPES to Rack::File::MIME_TYPES to make sinatra compatable with the master/0.5 branchs of rack
This commit is contained in:
parent
eefc3d3b20
commit
d25e020880
|
@ -11,6 +11,10 @@ elsif ENV['EVENT']
|
|||
puts "Using Evented Mongrel"
|
||||
end
|
||||
|
||||
unless defined?(Rack::File::MIME_TYPES)
|
||||
class Rack::File; MIME_TYPES = Rack::Mime::MIME_TYPES; end
|
||||
end
|
||||
|
||||
module Rack #:nodoc:
|
||||
|
||||
class Request #:nodoc:
|
||||
|
|
Loading…
Reference in New Issue