202 Accepted

发布时间 2023-11-16 14:37:59作者: papering

202 Accepted - HTTP | MDN https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202 

202 Accepted

The HyperText Transfer Protocol (HTTP) 202 Accepted response status code indicates that the request has been accepted for processing, but the processing has not been completed; in fact, processing may not have started yet. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place.

202 is non-committal, meaning that there is no way for the HTTP to later send an asynchronous response indicating the outcome of processing the request. It is intended for cases where another process or server handles the request, or for batch processing.

Status

HTTP

202 Accepted

 响应状态码 202 Accepted 表示服务器端已经收到请求消息,但是尚未进行处理。但是对于请求的处理却是无保证的,即稍后无法通过 HTTP 协议给客户端发送一个异步请求来告知其请求的处理结果。这个状态码被设计用来将请求交由另外一个进程或者服务器来进行处理,或者是对请求进行批处理的情形。

HTTP触发器的调用方式、协议支持和使用限制_函数计算-阿里云帮助中心 https://help.aliyun.com/zh/fc/user-guide/overview-36

 

异步调用成功后,函数计算会返回状态码202,表示请求接收成功。