确保应用程序返回正确的状态码。
否则,就会获得状态码401的回复。
指定返回的数据和状态码。
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.
这是因为只要连接成功,最后的退出状态码就是零。
This is because as long as the connection is successful, the last exit status will be zero.
服务器向浏览器返回的表明请求成功还是失败的状态码。
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.
成功处理这个请求之后,该服务返回一个包含状态码200的响应。
After successfully processing this request, the service returns a response with the status code 200.
成功处理这个请求之后,服务将返回一个包含状态码201的响应。
After successfully processing this request, the service returns a response with the status code 201.
为调用应用程序提供了特定于应用程序的信息,比如状态码和出错页面。
Application-specific information, like status codes and error pages, are provided for the calling application.
状态码201 (CREATED)是一个成功POST请求的完美响应。
A 201 status code (CREATED) is a perfect response to a successful POST request.
空响应带有不同的状态码: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.
RESTful服务通常在它的响应中提供两个有意义的组件:响应主体本身和一个状态码。
A RESTful service typically provides two meaningful components in its responses: the response body itself and a status code.
与其他使用HTTP的REST服务一样,TwitterAPI使用一组状态码和错误消息。
Like other REST services that use HTTP, the Twitter API sports a set of status codes and error messages.
SIPRFC 3261提供了对各种SIP headers,信息元素与可用状态码的完整描述。
The SIP RFC 3261 provides a complete description of the various SIP headers, message elements, and the status codes available.
在Web服务器可用的情况下,这个状态码应该是200(虽然在罕见情况下可能会是30x或40x)。
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).
如果用户提交了一个无法找到的IATA代码的话,我将返回一个常见的404状态码NotFound。
If the user submits an IATA code that cannot be found, I'll return the ever-popular 404 status code not found.
这个例程有两个参数,第二个参数是绝对时间值。如果在到达这个时间时还无法获得锁,例程会返回且状态码非零。
This routine takes in two arguments, the second being the absolute value of time by which, if the lock could not be acquired, the routine returns with a non-zero status.
第一个Jersey客户端示例将发送GET请求获取所有联系人并打印响应状态码和响应内容,参见清单11。
The first Jersey client example is to send a GET request to fetch all the contacts and print the response status code and response content. See Listing 11.
状态码301是指请求的页面永久地使用了不同的URL(请参阅10StatusCodeDefinitions)。
Status code 301 indicates that the requested page is permanently under a different URL (see 10 Status code Definitions).
如果用户在尝试访问这个资源时还没有经过身份验证,那么用户会收到401状态码,应用程序可以提供一个特殊的错误处理函数来处理这种情况。
If a user is not authenticated when trying to access this resource, the user will receive a 401 status code and the application can provide a special error handler to deal with that condition.
如果就绪状态是4而且状态码是 200,就可以处理服务器的数据了,而且这些数据应该就是要求的数据(而不是错误或者其他有问题的信息)。
With a ready state of 4 and a status code of 200, you're ready to process the server's data and that data should be what you asked for (and not an error or other problematic piece of information).
为了增加更健壮的错误处理并尽量避免过于复杂,可以增加一两个状态码检查,请看一看清单15中修改后的updatePage()版本。
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 updatePage() in Listing 15.
IndexAction的executeRead()方法应该用 200 (OK)状态码和所有可用的书籍记录响应GET /books/请求。
The IndexAction's executeRead() method should respond to a GET /books/ request with a 200 (OK) status code and a list of all available book records. Listing 4 illustrates what the code looks like
应用推荐