python状态码200_关于python:HTTP状态码200 vs 202

202 Accepted

The request has been accepted for processing, but the processing has

not been completed. The request might or might not eventually be acted

upon, as it might be disallowed when processing actually takes place.

There is no facility for re-sending a status code from an asynchronous

operation such as this.

The 202 response is intentionally non-committal. Its purpose is to

allow a server to accept a request for some other process (perhaps a

batch-oriented process that is only run once per day) without

requiring that the user agent's connection to the server persist until

the process is completed. The entity returned with this response

SHOULD include an indication of the request's current status and

either a pointer to a status monitor or some estimate of when the user

can expect the request to be fulfilled.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值