What we may - and should - do is simply return an HTTP 304 status code.
我们可能而且应该做的仅仅是返回一个HTTP 304状态码。
As you can see, del.icio.us was returning an HTTP 503 (Service Unavailable status code).
正如您所见,del . icio . us返回了HTTP 503(服务不可用状态代码)。
We can read the status code in the response object received from the HTTP POST call. We can also get the entry for the created property sheet type from the response.
我们可以从HTTPPOST调用接收的响应对象读取状态码。
The status attribute indicates the HTTP RESPONSE STATUS code (for example, 200) sent back from the server.
status属性指出从服务器返回的HTTPRESPONSE STATUS码(例如,200)。
This option gives you more control over the details of the response. You can set the status code, add HTTP headers, and so forth.
该选项让你能够对响应细节进行更多的控制。你可以设置状态码、添加HTTP报头等等。
To return 401 status code to indicate unauthorized HTTP request.
要返回401状态代码表示授权的HTTP请求。
Because the exception has been handled, the event method does not return an HTTP error status code.
因为异常已被处理,所以该事件方法不返回HTTP错误状态代码。
In the example above, the server returned a status code of 200. This is the standard success code for HTTP.
在下面这个例子中,服务器会返回一个200的状态代码。这是HTTP的标准成功代码。
Gets or sets the status code of the current HTTP response to which this property is attached.
获取或设置附加此属性的当前HTTP响应的状态代码。
If the status code received from the server is not 101, the client handles the response per HTTP [RFC2616] procedures.
假如从服务端获取的状态不是101,客户端在每一个http过程处理响应。
If the status code received from the server is not 101, the client handles the response per HTTP [RFC2616] procedures.
假如从服务端获取的状态不是101,客户端在每一个http过程处理响应。
应用推荐