rambulance: Mime::Type::InvalidMimeType

Hi @yuki24 !

I bumped into a new issue after upgrading to rails 6, producing Mime::Type::InvalidMimeType error.

To reproduce, e.g.: curl -D - -H "Accept: image/apng*/*" https://example.com

I have a feeling however that this happens before rambulance gets a chance to do anything? even if I add config.rescue_responses = { "Mime::Type::InvalidMimeType" => :not_acceptable } it doesn’t seem to catch it…

Any tips/thoughts? 😃 thanks in advance!

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks a lot, @yuki24. So glad to see this resolved. I really appreciate it!

Apologies for the delay. I should be able to look into it on Saturday.

Hey @gingerlime, sorry I didn’t have the time to do so last weekend. Hopefully I can do this tomorrow or the day after.