How access raw message header in sending http request MFC

drjackool 956 Reputation points

we can access response message header by QueryInfo function and query raw header flag but What for sending request? I need raw message header on sending request to debug my app?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,473 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Viorel 113.7K Reputation points

    CInternetSession::OpenURL is an MFC function that accepts HTTP headers.