阅读背景:

使用HTTP 304响应POST

来源:互联网 

I have a REST API that allows modification of resources using HTTP POST. It's possible that a client may submit a POST request that results in no modification of the resource. I'm thinking about using the 304 response generally used for conditional responses to indicate that the request had no effect. I haven't been able to find any examples of this being done, so I figured I'd ask here and see if anyone else is doing this or has an opinion about it.I have a REST API that allows modification of r




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: