method
marked_for_same_origin_verification?
rails latest stable - Class:
ActionController::RequestForgeryProtection
marked_for_same_origin_verification?()private
If the verify_authenticity_token before_action ran, verify that JavaScript responses are only served to same-origin GET requests.