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

后端 未结 13 1511
轻奢々
轻奢々 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 05:58

    Are you sure these requests are coming from a "customer"?

    I've had this issue with bots before; they sometimes probe sites for "contact us" forms by sending blank POST requests based on the action URI in FORM tags they discover during crawling.

提交回复
热议问题