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

How to compute the response.headers size? #1

Open
Jhc-china opened this issue Nov 7, 2017 · 0 comments
Open

How to compute the response.headers size? #1

Jhc-china opened this issue Nov 7, 2017 · 0 comments

Comments

@Jhc-china
Copy link
Owner

I don't know how to compute total size approximately
though the header size is always between 286 and 288 B, in my project
i want to compute it, not use a const value(287 B) instate
Anyone can help my to solve my problem?
( p s: it's pretty easy to find response.content-length, ctx.length can do this job,
but the total length is body.content-length plus headers.length)

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