Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is the HTTP response chunked? #645

Open
SameeCodeMan opened this issue Apr 4, 2023 · 0 comments
Open

is the HTTP response chunked? #645

SameeCodeMan opened this issue Apr 4, 2023 · 0 comments

Comments

@SameeCodeMan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant