TXDataBaseRequestHandler.AcceptContains Method
Checks whether a media type is listed in the Accept header of the request.
Syntax
Unit: XData.Module.Base
function TXDataBaseRequestHandler.AcceptContains(const AValue: string): Boolean;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AValue | string | The media type to look for. The comparison is case-insensitive. |
Returns
True if the client explicitly accepts the media type; False otherwise.