Why doesn't IIS support chunked transfer encoding?

前端 未结 5 1042
一个人的身影
一个人的身影 2021-02-09 04:49

I am making an HTTP connection to an IIS web server and sending a POST request with the data encoded using Transfer-Encoding: chunked. When I do this, IIS simply closes the conn

5条回答
  •  不思量自难忘°
    2021-02-09 05:24

    Take a look at your client.

    Both IIS & Apache support POST requests using chunked transfer-encoding. You can verify this using the curl utility:

    curl  --form "upfile=@" --header "Transfer-Encoding: chunked"
    

    Verify the transfer is chunked using Wireshark

提交回复
热议问题