Accept Property
A list of acceptable MIME types for the request.
Syntax
ANSI (Cross Platform) char* GetAccept();
int SetAccept(const char* lpszAccept); Unicode (Windows) LPWSTR GetAccept();
INT SetAccept(LPCWSTR lpszAccept);
@property (nonatomic,readwrite,assign,getter=accept,setter=setAccept:) NSString* accept; - (NSString*)accept; - (void)setAccept:(NSString*)newAccept;
#define PID_ATOM_ACCEPT 1 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_Atom_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_Atom_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
If this property contains a non-empty string, an HTTP Accept header is added to the request.
The Accept header is used for content negotiation. It provides the server with a comma-separated list of MIME types that are acceptable for its response.
Data Type
String