Update rack
to version 3 (#34816)
This commit is contained in:
parent
887533392f
commit
71d46e26b2
4 changed files with 9 additions and 14 deletions
|
@ -2,6 +2,3 @@
|
|||
|
||||
Mime::Type.register 'application/json', :json, %w(text/x-json application/jsonrequest application/jrd+json application/activity+json application/ld+json)
|
||||
Mime::Type.register 'text/xml', :xml, %w(application/xml application/atom+xml application/xrd+xml)
|
||||
|
||||
# WebP is not defined in Rack 2.2.
|
||||
Rack::Mime::MIME_TYPES['.webp'] = 'image/webp'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue