加特林是否对每个请求都使用 Accept-Encoding: gzip,deflate ?

发布于 01-12 12:04 字数 138 浏览 3 评论 0原文

使用加特林执行一些性能后,我注意到服务器端的带宽结果比预期的要多。 我认为/认为每个请求都默认使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

┼──2025-01-19 12:04:42

我认为/认为每个请求都默认加特林编码(gzig、deflate),但现在我对此不确定。

为什么会这样呢?不,不是,这是您必须指定的内容,例如 默认标头

I think/thought Gatling encoding (gzig, deflate) by default on every request, but now I am not sure about that.

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文