HttpAddResponseHeaderContentTypeTag
Appends a content type attribute to an HTTP Response Header and returns a flag indicating if a content length attribute is needed.
#include <httpexp.h>
int HttpAddResponseHeaderContentTypeTag (
HINTERNET hndl,
void *pzExtName,
int szExtName,
UINT32_PTR pContentLengthFlag);
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. |