Flowdock
method

xml_http_request?

Importance_1
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: ActionDispatch::Request
xml_http_request?() public

Returns true if the “X-Requested-With” header contains “XMLHttpRequest” (case-insensitive), which may need to be manually added depending on the choice of JavaScript libraries and frameworks.

Show source
Register or log in to add new notes.