Files
expressjs.com/en/api/req-xhr.jade
TJ Holowaychuk 9e957d4e2c Initial commit
2012-07-31 20:33:12 -07:00

11 lines
193 B
Plaintext

section
h3(id='req.xhr') req.xhr
p.
Check if the request was issued with the "X-Request-With"
header field set to "XMLHttpRequest" (jQuery etc).
+js.
req.xhr
// => true