The IResponse::put_Status method sets the value of the Status property of the Response object.
HRESULT put_Status( BSTR bstrStatus //binary string that contains the new Status value );
You can use this property to modify the status line returned by the server. Status values are defined in the HTTP specification.
Response Object, IResponse::get_Status