How access raw message header in sending http request MFC

drjackool 956 Reputation points
2021-09-10T11:12:22.723+00:00

Hi
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?
Thanks

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
    2021-09-10T16:47:14.673+00:00

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