Sign in Join
FPDoc Onlineexperiment

THTTPHeader.HTTPXRequestedWith property

Member of THTTPHeaderpublicIn unit HTTPDefs

HTTP X-Requested-With header accessor property

Declaration

pascal
property HTTPXRequestedWith: string index Ord(hvXRequestedWith) read GetHTTPVariable write SetHTTPVariable;

Description

HTTPXRequestedWith contains the X-Requested-With header field value. This is commonly used by JavaScript frameworks to identify AJAX requests (typically set to 'XMLHttpRequest').

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.