简体   繁体   中英

How to custom HTTP Error 411. The request must be chunked or have a content length. on IIS

帮我自定义 HTTP 错误 411。请求必须分块或在 IIS 上具有内容长度

IIS URL rewrite support custom response status and error description. You could create a rule to check the chunk header and http_content_length. If the request doesn't match chunked or have content length. Then URL rewrite module will return 411 error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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