summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support/apache_mime_types.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/apache_mime_types.rb b/support/apache_mime_types.rb
index a5d1ba4..1786fa4 100644
--- a/support/apache_mime_types.rb
+++ b/support/apache_mime_types.rb
@@ -11,6 +11,10 @@ require 'yaml'
ENV['RUBY_MIME_TYPES_LAZY_LOAD'] = 'yes'
require 'mime/types'
+class MIME::Type
+ public_constant :UNREGISTERED_RE
+end
+
class ApacheMIMETypes
DEFAULTS = {
url: %q(http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types),