Update rack to version 3 (#34816)

This commit is contained in:
Matt Jankowski 2025-05-28 04:39:17 -04:00 committed by GitHub
parent 887533392f
commit 71d46e26b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 14 deletions

View file

@ -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'