This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-07-12 03:47:08 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-13 22:16:43 -04:00
|
|
|
Mime::Type.register 'application/json', :json, %w(text/x-json application/jsonrequest application/jrd+json application/activity+json application/ld+json)
|
2017-07-14 21:01:39 -04:00
|
|
|
Mime::Type.register 'text/xml', :xml, %w(application/xml application/atom+xml application/xrd+xml)
|
2023-09-04 03:46:33 -04:00
|
|
|
|
|
|
|
# WebP is not defined in Rack 2.2.
|
|
|
|
Rack::Mime::MIME_TYPES['.webp'] = 'image/webp'
|