You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is thrown whent the Content-Type header is not provided in the request.
HEAD request does not provide a body in the request (and does not ask for body in the response) so Rauls should not raise this error.
ActionDispatch::Http::MimeNegotiation::InvalidTypeHEAD /status
"" is not a valid MIME type
vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/mime_negotiation.rb:31:in `rescue in block in content_mime_type': "" is not a valid MIME type (ActionDispatch::Http::MimeNegotiation::InvalidType)
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/mime_negotiation.rb:24:in `block in content_mime_type'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/request.rb:69:in `fetch'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/request.rb:69:in `fetch_header'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/mime_negotiation.rb:23:in `content_mime_type'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_controller/metal/params_wrapper.rb:283:in `_wrapper_enabled?'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
from vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/abstract_controller/base.rb:165:in `process'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_controller/metal.rb:190:in `dispatch'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_controller/metal.rb:254:in `dispatch'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/routing/route_set.rb:33:in `serve'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/journey/router.rb:50:in `block in serve'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/journey/router.rb:32:in `each'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/journey/router.rb:32:in `serve'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/routing/route_set.rb:842:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-pjax-1.1.0/lib/rack/pjax.rb:12:in `call'
from vendor/bundle/ruby/2.7.0/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:14:in `call'
from vendor/bundle/ruby/2.7.0/gems/warden-jwt_auth-0.5.0/lib/warden/jwt_auth/middleware/token_dispatcher.rb:20:in `call'
from vendor/bundle/ruby/2.7.0/gems/warden-jwt_auth-0.5.0/lib/warden/jwt_auth/middleware/revocation_manager.rb:21:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:244:in `call'
from vendor/bundle/ruby/2.7.0/gems/warden-jwt_auth-0.5.0/lib/warden/jwt_auth/middleware.rb:23:in `call'
from vendor/bundle/ruby/2.7.0/gems/remotipart-1.4.4/lib/remotipart/middleware.rb:32:in `call'
from vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
from vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
from vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/cookies.rb:689:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/callbacks.rb:98:in `run_callbacks'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
from vendor/bundle/ruby/2.7.0/gems/bugsnag-6.22.1/lib/bugsnag/integrations/rack.rb:51:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
from vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/rack/logger.rb:37:in `call_app'
from vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/rack/logger.rb:26:in `block in call'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/tagged_logging.rb:99:in `block in tagged'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/tagged_logging.rb:37:in `tagged'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/tagged_logging.rb:99:in `tagged'
from vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/rack/logger.rb:26:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/request_id.rb:26:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/host_authorization.rb:92:in `call'
from vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/engine.rb:539:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/configuration.rb:252:in `call'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/request.rb:77:in `block in handle_request'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/request.rb:76:in `handle_request'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/server.rb:441:in `process_client'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
Caused by: vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/mime_type.rb:238:in `initialize': "" is not a valid MIME type (Mime::Type::InvalidMimeType)
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/mime_type.rb:146:in `new'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/mime_type.rb:146:in `lookup'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/mime_negotiation.rb:25:in `block in content_mime_type'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/request.rb:69:in `fetch'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/request.rb:69:in `fetch_header'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/mime_negotiation.rb:23:in `content_mime_type'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_controller/metal/params_wrapper.rb:283:in `_wrapper_enabled?'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
from vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/abstract_controller/base.rb:165:in `process'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_controller/metal.rb:190:in `dispatch'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_controller/metal.rb:254:in `dispatch'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/routing/route_set.rb:33:in `serve'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/journey/router.rb:50:in `block in serve'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/journey/router.rb:32:in `each'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/journey/router.rb:32:in `serve'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/routing/route_set.rb:842:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-pjax-1.1.0/lib/rack/pjax.rb:12:in `call'
from vendor/bundle/ruby/2.7.0/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:14:in `call'
from vendor/bundle/ruby/2.7.0/gems/warden-jwt_auth-0.5.0/lib/warden/jwt_auth/middleware/token_dispatcher.rb:20:in `call'
from vendor/bundle/ruby/2.7.0/gems/warden-jwt_auth-0.5.0/lib/warden/jwt_auth/middleware/revocation_manager.rb:21:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:244:in `call'
from vendor/bundle/ruby/2.7.0/gems/warden-jwt_auth-0.5.0/lib/warden/jwt_auth/middleware.rb:23:in `call'
from vendor/bundle/ruby/2.7.0/gems/remotipart-1.4.4/lib/remotipart/middleware.rb:32:in `call'
from vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
from vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
from vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/cookies.rb:689:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/callbacks.rb:98:in `run_callbacks'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
from vendor/bundle/ruby/2.7.0/gems/bugsnag-6.22.1/lib/bugsnag/integrations/rack.rb:51:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
from vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/rack/logger.rb:37:in `call_app'
from vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/rack/logger.rb:26:in `block in call'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/tagged_logging.rb:99:in `block in tagged'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/tagged_logging.rb:37:in `tagged'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/tagged_logging.rb:99:in `tagged'
from vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/rack/logger.rb:26:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/request_id.rb:26:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
from vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
from vendor/bundle/ruby/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/host_authorization.rb:92:in `call'
from vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/engine.rb:539:in `call'
from vendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/configuration.rb:252:in `call'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/request.rb:77:in `block in handle_request'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/request.rb:76:in `handle_request'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/server.rb:441:in `process_client'
from vendor/bundle/ruby/2.7.0/gems/puma-5.6.2/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
The text was updated successfully, but these errors were encountered:
The following error is thrown whent the
Content-Type
header is not provided in the request.HEAD request does not provide a body in the request (and does not ask for body in the response) so Rauls should not raise this error.
#371
#372
The text was updated successfully, but these errors were encountered: