HttpAddResponseHeaderLastModifiedTag

Appends a Last Modified attribute to an HTTP Response Header using the provided time.

Syntax

    #include <httpexp.h>
    
    int HttpAddResponseHeaderLastModifiedTag (
      HINTERNET    hndl,
      UINT32       gmtTimeInSeconds);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.
gmtTimeInSeconds
(IN) Specifies GMT, in seconds, for the Last Modified Header Attribute.

Return Values

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.