2023/10/10 10:54:24 [info] 64531#64531: 147915334 client sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading client request headers, client: 10.16.64.20, server: .xxxx.com, request: "PUT /aaaaaaa/bbb HTTP/1.1", host: "oss.xxx.com"
如图,到底是要用分块还是非分块解析呢?因为Transfer-Encoding和Content-Length同时存在,故而会被nginx识别为错误请求而拦截掉。
如下:
2023/10/10 10:54:24 [info] 64531#64531: 147915334 client sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading client request headers, client: 10.16.64.20, server: .xxxx.com, request: "PUT /aaaaaaa/bbb HTTP/1.1", host: "oss.xxx.com"