HttpAddResponseHeaderStringContentType
Appends a content-type attribute to an HTTP Response Header with the provided string.
#include <httpexp.h>
int HttpAddResponseHeaderSetCookieTag (
HINTERNET hndl,
void *pzContentType);
If successful, returns 0. Otherwise, returns a nonzero error code.
|
Decimal |
Name |
Description |
|---|---|---|
|
168 |
ERR_ACCESS_DENIED |
The HttpSendResponseHeader function has already been called. |
|
255 |
ERR_BAD_PARAMETER |
Invalid handle. |