Ensure your applications return the proper status code.
确保应用程序返回正确的状态码。
The handler supplies a valid file status code if an exception occurs.
Handlder 程序在异常发生时提供一个有效的文件状态码。
What we may - and should - do is simply return an HTTP 304 status code.
我们可能而且应该做的仅仅是返回一个HTTP 304状态码。
Returns a string describing the specified status code or error code.
返回一个字串来描述特定的状态信息或错误代码。
If status code returned is' 2 ', no new messages, so end the function call.
如果状态是'2 ',则表示没有新消息,终止函数调用。
Indicate that the page no longer exists by returning a 404 or 410 status code.
通过404或410状态代码表明该页不再存在。
When this URL is invoked, it implicitly returns a 200 status code when it succeeds.
在调用这个URL时,如果成功,就会隐式地返回状态码200。
Or maybe it should be a status code only, and use the deleted date as the done date.
或者只使用状态码,并使用删除日期作为完成日期。
As you can see, del.icio.us was returning an HTTP 503 (Service Unavailable status code).
正如您所见,del . icio . us返回了HTTP 503(服务不可用状态代码)。
To simplify the code, assign the ICONS the same status code retrieved by the REST syndication.
要简化代码,请分配通过REST联合检索的相同状态代码的图标。
After successfully processing this request, the service returns a response with a status code 201.
在成功地处理这个请求之后,服务在响应中返回状态码201。
After successfully processing this request, the service returns a response with the status code 201.
成功处理这个请求之后,服务将返回一个包含状态码201的响应。
After successfully processing this request, the service returns a response with the status code 200.
成功处理这个请求之后,该服务返回一个包含状态码200的响应。
Whatever choices you make, though, it begins with handling the status code returned from the server.
然而不管采用哪种选择,都需要从对服务器上返回的状态代码开始入手进行处理。
In case the specified resource is not available, it's a good idea to return a 404 (not Found) status code.
万一指定的资源不可用,返回404 (NotFound)状态码是一个不错的主意。
Every request to a server is recorded and assigned a status code, which describes how the server responded.
每个发送给服务器的请求都记录下来,并且指定了一处状态码,这个码告诉服务器如何响应请求。
Status code the server returns to the browser to indicate its success or failure in generating the request.
服务器向浏览器返回的表明请求成功还是失败的状态码。
If the user submits an IATA code that cannot be found, I'll return the ever-popular 404 status code not found.
如果用户提交了一个无法找到的IATA代码的话,我将返回一个常见的404状态码NotFound。
The status attribute indicates the HTTP RESPONSE STATUS code (for example, 200) sent back from the server.
status属性指出从服务器返回的HTTPRESPONSE STATUS码(例如,200)。
Status code 301 indicates that the requested page is permanently under a different URL (see 10 Status code Definitions).
状态码301是指请求的页面永久地使用了不同的URL(请参阅10Status Code Definitions)。
If successful, the server will respond with a 201 (OK) status code and the revised. Figure 4 illustrates the likely output.
如果成功,服务器将用一个201 (OK)状态码和修订后的进行响应。
A RESTful service typically provides two meaningful components in its responses: the response body itself and a status code.
RESTful服务通常在它的响应中提供两个有意义的组件:响应主体本身和一个状态码。
If the variable is set, set — query returns a status code of 0, indicating that no error occurred; otherwise, it returns a 1.
如果已经设置了此变量,set——query返回状态码0,这表示没有出现错误;否则,返回1。
You should see a status code of 404, which confirms that the server has stopped and its artifacts (PID file) have been deleted.
应该会看到404代码状态,此代码确认服务器已停止且其工件(PID文件)已删除。
It takes minimal effort to ensure that the server not only finished with a request, but returned an "Everything is OK" status code.
它花费了最小的努力来确保服务器不但完成了一个请求,而且还返回了一个“一切良好”的状态代码。
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.
对于BYE响应,我们需要接受BYE响应,使用同一状态代码创建响应,并将其发送到对等uas。
As I mentioned above, a status code of 1 will represent a successful request with new messages, 2 as successful without new messages.
就如我上面提到的,一个状态值为1则标示新信息请求成功,2则表示请求成功但是没有新信息。
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.
从命令的输出可以看到,如果获得的状态代码与预期的代码不匹配,将返回一个错误。
In the case where the Web server is available, this status code should be 200 (though in rare cases it might be a 30x or 40x code as well).
在Web服务器可用的情况下,这个状态码应该是200(虽然在罕见情况下可能会是30x或40x)。
Empty response with different status code: the response of the PUT request will not have any content, but will have a different status code.
空响应带有不同的状态码:PUT请求的响应没有任何内容,但是有不同的状态码。
应用推荐