go - How to get the size of HTTP Response? -


i want determine size of response. it's easy way contentsize resp.contentlength. but, size combined size of response headers (usually few hundred bytes) plus response body, delivered server. how can size of response headers ? or there anyway size of response directly?

you can implement http.responsewriter counts bytes writes. should pretty simple create own, or can use existing library this one.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -