You will want to test against some of those , particularly those related to proxies and gateways 的第10部分列出了状态码,您可以看看其中的一些,尤其是和代理与网关有关的那些。
An instance must use a 2xx http status code on a response message that indicates the successful outcome of a http request 在指示http请求的成功输出的响应消息中,实例必须使用2xx http状态码。
An instance must use http status code " 307 temporary redirect " when redirecting a request to a different endpoint 实例在将请求重定向到不同的端点时必须使用http状态码“ 307 temporary redirect ” 。
An instance must use the " 307 temporary redirect " http status code when redirecting a request to a different endpoint 实例在将请求重定向到不同的端点时必须使用“ 307 temporary redirect ” http状态码。
In this section , i ' ll describe three aspects of error handling : status codes , structured exception handling , and bug checks 在这种情况下,我要讨论错误处理的三个方面:状态码,结构异常处理和错误检测。
In keeping with the prior examples , we will display the referrer and resource of a hit , but only when the request has a status code of 与前面的示例保持一致的同时,我们将显示访问的提交者和资源,但是只有在请求的状态码为
The server status line includes the protocol version number running on the server , the status code , and a text message representing the return code 服务器状态行包括在服务器上运行的协议版本号、状态码和表示返回代码的文字消息。
To add more robust error handling - with minimal complication - you might add a check or two for other status codes ; check out the modified version of 为了增加更健壮的错误处理并尽量避免过于复杂,可以增加一两个状态码检查,请看一看
An instance should use a " 400 bad request " http status code , if the request message is a malformed http request , or not well - formed xml 如果请求信息是畸形的http请求或不是结构良好的xml ,则实例应该使用“ 400 bad request ” http状态码。
Kernel - mode support routines ( and your code too , for that matter ) indicate success or failure by returning a status code to their caller 内和模式支持程序(还有你的代码,对于那种情况)通过给它们的调用者返回一个状态码来指示成功或者失败。