HTTP Response before Request

后端 未结 7 1820
梦毁少年i
梦毁少年i 2020-12-23 17:16

My question might sound stupid, but I just wanted to be sure:

  • Is it possible to send an HTTP response before having the request for that resource?
相关标签:
7条回答
  • 2020-12-23 18:04

    No. HTTP is defined as a request/response protocol. One request: one response. Anything else is not HTTP, it is something else, and you would have to specify it properly and implement it completely at both ends.

    0 讨论(0)
提交回复
热议问题