Listing 3: An XML error response.
清单3:一个XML错误响应。
If it is not, an error response is returned, indicating that this request is forbidden.
如果不是,将返回一条错误消息,指示禁止此请求。
Because the application immediately throws an error response, the user can more readily fix the problem before his focus moves to another field.
由于应用程序会立即抛出错误响应,用户可以更轻松地在焦点转移到其他字段之前改正问题。
This demonstrates a typical error response.
这里展示了一个典型的错误回复。
Specifies a format string for building an error response to the client.
指定用于发送给客户端的错误回应使用的格式字符串。
This can be useful for a handler that validates the request (creating an error response).
这对验证请求(创建错误消息)的处理器,可能是有用的。
If an "HTTP" resource responds to a GET request with a 4xx (error) response, then the nature of the resource is unknown.
如果一个“http”资源对一个GET请求的响应码是4xx(错误),那么这个资源被认为是未知的。
If an "HTTP" resource responds to a GET request with a 4xx (error) response, then the nature of the resource is unknown.
如果一个“http”资源对一个GET请求的响应码是4xx(错误),那么这个资源被认为是未知的。
应用推荐