CPP removes the HTTP response header

I have a const char *, which reads as follows:

HTTP/1.1 200 OK
Content-Type: application/xml;charset=utf-8
Content-Length: 8192
Connection: close


<?xml version="1.0"?>
<root>
...
</root>

how do I remove all the above characters if I want to remove ?

CPP
Jul.29,2021

can be achieved using nodejs/http_parser.

Menu