What happens when I click the Stop button on the browser?

后端 未结 5 1985
生来不讨喜
生来不讨喜 2020-12-29 22:16

Let\'s say I click a button on a web page to initiate a submit request. Then I suddenly realize that some data I have provided is wrong and that if it gets submitted, then I

5条回答
  •  感动是毒
    2020-12-29 22:41

    The client will immediately stop transmitting data and close its connection. 9 out of 10 times your request will already have got through (perhaps due to OS buffers being "flushed" to the server). No extra information is sent to the server informing it that you stopped your request.

提交回复
热议问题