prometheus-cpp
prometheus-cpp copied to clipboard
is the HTTP response chunked?
I understand you are using "Civetweb" to create the HTTP server. Is the HTTP response chunked? Or is it sending the entire buffer in the response in one go?
I'm as asking this as I have huge data (about 2M to 5M) which will be going in the HTTP response.
I believe there is already a provision to do this: mg_set_response_header(conn, "Transfer-Encoding", "chunked");
Just wanted to know if it is already done as part of the existing code base or not.