简体   繁体   English

如何使用修改内容的代理调整请求内容长度?

[英]How to adjust Request Content-Length with a Proxy that modifies content?

Is it possible to change the Content-Length of an HttpServletRequest?是否可以更改 HttpServletRequest 的内容长度?

Can it be done with the AsyncMiddleManServlet ?可以用AsyncMiddleManServlet完成吗?

If you use the AsyncMiddleManServlet properly, then the Content-Length request header will be appropriately adjusted.如果你正确使用了AsyncMiddleManServlet ,那么Content-Length请求 header 将被适当调整。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM