HttpSendResponseHeader

Closes an already-opened Response Header session and opens the Data Response Session.

Syntax

    #include <httpexp.h>
    
    int HttpSendResponseHeader (
      HINTERNET    hndl);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.

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.