Why “Content-Length: 0” in POST requests?

后端 未结 13 1380
轻奢々
轻奢々 2020-11-28 05:50

A customer sometimes sends POST requests with Content-Length: 0 when submitting a form (10 to over 40 fields).

We tested it with different browsers and

13条回答
  •  有刺的猬
    2020-11-28 06:01

    This is a known problem for Internet explorer 6, but not for 7 that I know of. You can install this fix for the IE6 KB831167 fix.

    You can read more about it here.

    Some questions for you:

    • Do you know which type of proxy?
    • Do you know if there is an actual body sent in the request?
    • Does it happen consistently every time? Or only sometimes?
    • Is there any binary data sent in the request? Maybe the data starts with a \0 and the proxy has a bug with binary data.

提交回复
热议问题