确保应用程序返回正确的状态码。
指定返回的数据和状态码。
ILER PG参考手册定义了这些状态码。
The status codes are defined in the ILE RPG Reference Manual.
或者只使用状态码,并使用删除日期作为完成日期。
Or maybe it should be a status code only, and use the deleted date as the done date.
服务器向浏览器返回的表明请求成功还是失败的状态码。
Status code the server returns to the browser to indicate its success or failure in generating the request.
在成功地处理这个请求之后,服务在响应中返回状态码201。
After successfully processing this request, the service returns a response with a status code 201.
我们可能而且应该做的仅仅是返回一个HTTP 304状态码。
What we may - and should - do is simply return an HTTP 304 status code.
在调用这个URL时,如果成功,就会隐式地返回状态码200。
When this URL is invoked, it implicitly returns a 200 status code when it succeeds.
我们可以从HTTPPOST调用接收的响应对象读取状态码。
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.
成功处理这个请求之后,服务将返回一个包含状态码201的响应。
After successfully processing this request, the service returns a response with the status code 201.
成功处理这个请求之后,该服务返回一个包含状态码200的响应。
After successfully processing this request, the service returns a response with the status code 200.
Handlder 程序在异常发生时提供一个有效的文件状态码。
The handler supplies a valid file status code if an exception occurs.
为调用应用程序提供了特定于应用程序的信息,比如状态码和出错页面。
Application-specific information, like status codes and error pages, are provided for the calling application.
指定扩展键标志,事件注入标志,上下文代码,转换状态码。
Specifies the extended-key flag, event-injected flag, context code, and transition-state flag.
如果成功,服务器将用一个201 (OK)状态码和修订后的进行响应。
If successful, the server will respond with a 201 (OK) status code and the revised. Figure 4 illustrates the likely output.
若要覆写继承的错误设定,您可为要覆写的状态码加入本机自订错误。
You can override the inherited error Settings by adding a local custom error for the status code you want to override.
空响应带有不同的状态码:PUT请求的响应没有任何内容,但是有不同的状态码。
Empty response with different status code: the response of the PUT request will not have any content, but will have a different status code.
服务器状态行包括在服务器上运行的协议版本号、状态码和表示返回代码的文字消息。
The server status line includes the protocol version number running on the server, the status code, and a text message representing the return code. Below are several examples of valid status lines.
万一指定的资源不可用,返回404 (NotFound)状态码是一个不错的主意。
In case the specified resource is not available, it's a good idea to return a 404 (not Found) status code.
如果服务器不想给客户端提供此信息,可以使用状态码403(禁止)来代替。
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead.
RESTful服务通常在它的响应中提供两个有意义的组件:响应主体本身和一个状态码。
A RESTful service typically provides two meaningful components in its responses: the response body itself and a status code.
应用程序不发送正确的状态码看似没什么害处,但是在启用边缘服务器时这会成为真正的问题。
Failing to send the proper status code from your applications may seem harmless, but it can turn out to be a real problem when trying to enable to the edge server.
在这种情况下,我要讨论错误处理的三个方面:状态码,结构异常处理和错误检测。
In this section, I 'll describe three aspects of error handling: status codes, structured exception handling, and bug checks.
每个发送给服务器的请求都记录下来,并且指定了一处状态码,这个码告诉服务器如何响应请求。
Every request to a server is recorded and assigned a status code, which describes how the server responded.
与其他使用HTTP的REST服务一样,TwitterAPI使用一组状态码和错误消息。
Like other REST services that use HTTP, the Twitter API sports a set of status codes and error messages.
该选项让你能够对响应细节进行更多的控制。你可以设置状态码、添加HTTP报头等等。
This option gives you more control over the details of the response. You can set the status code, add HTTP headers, and so forth.
如果已经设置了此变量,set——query返回状态码0,这表示没有出现错误;否则,返回1。
If the variable is set, set — query returns a status code of 0, indicating that no error occurred; otherwise, it returns a 1.
这仅仅是HTTP请求能够收到的众多错误码中的一种(完整的状态码列表请参阅参考资料中的链接)。
This is just one of many status codes that HTTP requests can receive as a status (see Resources for a link to the complete list of status codes).
SIPRFC 3261提供了对各种SIP headers,信息元素与可用状态码的完整描述。
The SIP RFC 3261 provides a complete description of the various SIP headers, message elements, and the status codes available.
如果请求中提供的认证信息导致成功的认证,那么就向认证请求方返回一个表示成功的状态码。
If the authentication information supplied in the request resulted in a successful authentication, a status code of success is sent back to the authentication requestor.
应用推荐