Sets the HTTP/HTTPS accept types.
WebAPI.bdh
WebSetAcceptTypes(in sAccept: string): boolean;
Parameter | Description |
---|---|
sAccept | Contains the accept pattern string, for example, "*/*", "image/gif" |
dcltrans transaction TWebInit begin WebSetAcceptTypes("text/html, image/gif"); WebDumpSettings(); end TWebInit;