CHttpServerContext::m_bSendHeaders

Remarks

A boolean flag that controls whether MFC automatically sends headers in an HTTP response. When MFC constructs a CHttpServerContext, it sets m_bSendHeaders to TRUE. If you set m_bSendHeaders to FALSE, no headers are sent. Suppressing automatic headers is useful if you want to keep a connection alive or you want to construct your own headers using CHttpServer::AddHeader.

Example

See the example for CHttpServerContext::WriteClient.

CHttpServerContext OverviewClass MembersHierarchy Chart

See Also   CHttpServer::AddHeader