为真的话,只返回状态代码和头部。
If it is true, only the status code and the headers are returned.
第二次测试将提供指示失败检索的状态代码。
The second test would supply a status code indicating a failed retrieval.
在这些情况中,您根本就不会得到状态代码。
在本例中,状态代码“7”指示成功的检索。
In this case, a successful retrieval is indicated by a status code of "7".
通过404或410状态代码表明该页不再存在。
Indicate that the page no longer exists by returning a 404 or 410 status code.
重定向是通过使用301和302状态代码完成。
Redirects are accomplished using the 301 and 302 status codes. Here's an example of the HTTP headers in a 301 response.
这是第一次赛车状态代码。
它的第二赛车状态代码。
若要返回特定HTTP响应状态代码和说明。
To return specific HTTP response status code and description.
对每个响应都使用不同的状态代码和状态说明。
Varies the status code and status description used for each response.
要返回401状态代码表示授权的HTTP请求。
To return 401 status code to indicate unauthorized HTTP request.
该实例包含状态代码,而且也可能包含Header和正文。
The instance contains the status code, and may also contain headers and a body.
要返回404状态代码表示请求的资源没有被发现。
To return 404 status-code to indicate that the requested resource was not found.
您可以找到更多的状态代码(完整清单请参见参考资料)。
要简化代码,请分配通过REST联合检索的相同状态代码的图标。
To simplify the code, assign the ICONS the same status code retrieved by the REST syndication.
拒付很可能是最不理解的状态代码了,因此很有必要阅读此文。
Chargebacks are probably the least understood status code so it is very important that you read this.
实体好像是多余的,因为你会觉得200的状态代码是代表成功的。
The entity body here is redundant because you already said it was successful with the 200 status code.
因为异常已被处理,所以该事件方法不返回HTTP错误状态代码。
Because the exception has been handled, the event method does not return an HTTP error status code.
然而不管采用哪种选择,都需要从对服务器上返回的状态代码开始入手进行处理。
Whatever choices you make, though, it begins with handling the status code returned from the server.
因此,在对状态代码进行充分的考虑之后,您就可以完全忽略重定向代码的问题了。
So, while you think about plenty of status codes, you can largely ignore the redirection codes altogether.
从命令的输出可以看到,如果获得的状态代码与预期的代码不匹配,将返回一个错误。
As you can see from the output of the command, it only returns an error if it gets a status code that doesn't match what is expected.
如果订单一直处于这种状态代码,那么您应该视它为失败订单,不要交付产品。
If an order is sitting on this status code you should consider this to be a failed order and not deliver the product.
本文件尝试解释所有的状态代码的含义,以及您应该对状态代码进行哪些操作。
This document will attempt to explain what all the status codes mean and what action that they mean you should take if any.
如果服务器不希望这个信息提供给客户,状态代码404(未找到)可以用来代替。
If the server does not wish to make this information available to the client, the status code 404 (not Found) can be used instead.
内核负责将进程转移到睡眠状态、等待套接字做好写入的准备、读取TCP状态代码,等等。
The kernel takes care of moving the process to sleeping state, waiting for the socket to be ready for writing, reading the TCP status code, and so on.
如果您要对状态代码进行控制,就可以设置应用程序来处理脚本错误、非预期的响应以及边缘情况。
If you have a handle on status codes, you can set your application up to deal with a script's errors, unexpected responses, and edge cases.
正如您所见,del . icio . us返回了HTTP 503(服务不可用状态代码)。
As you can see, del.icio.us was returning an HTTP 503 (Service Unavailable status code).
它花费了最小的努力来确保服务器不但完成了一个请求,而且还返回了一个“一切良好”的状态代码。
It takes minimal effort to ensure that the server not only finished with a request, but returned an "Everything is OK" status code.
对于BYE响应,我们需要接受BYE响应,使用同一状态代码创建响应,并将其发送到对等uas。
For the BYE response, we need to accept the BYE response, create a response with the same status code, and send it to the peer uas.
在下面这个例子中,服务器会返回一个200的状态代码。这是HTTP的标准成功代码。
In the example above, the server returned a status code of 200. This is the standard success code for HTTP.
应用推荐