accept=(mime_types) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/testing/test_request.rb, line 64
    def accept=(mime_types)
      delete_header('action_dispatch.request.accepts')
      set_header('HTTP_ACCEPT', Array(mime_types).collect(&:to_s).join(","))
    end
Register or log in to add new notes.