加特林是否对每个请求都使用 Accept-Encoding: gzip,deflate ?
使用加特林执行一些性能后,我注意到服务器端的带宽结果比预期的要多。 我认为/认为每个请求都默认使用 galitng 编码(gzig、deflate),但现在我对此不确定。 通过激活日志记录(以查看发送的请求标头),不会显示“Accept-Encoding”标头。
After executing some performance using gatling, i have noticed more bandwidth results than expected on the server side.
I think/thought galitng encoding (gzig, deflate) by default on every request, but now I am not sure about that.
By activating the logging (to see what request headers are sent), the "Accept-Encoding" header is not displayed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

为什么会这样呢?不,不是,这是您必须指定的内容,例如 默认标头。
Why would that be? No, it's not, that's something you have to specify, for example as a default header on the HTTP protocol.