我是杀人犯电影天堂:计算机专业英语翻译

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/06 20:41:57
10.2 Successful 2xx(成功)

This class of status code indicates that the client’s request was successfully received, understood, and accepted.

10.2.1 200 OK The request has succeeded. The information returned with the response is dependent on the method used in the request, for example:

GET HEAD

POST

an entity corresponding to the requested resource is sent in the response; the entity-header fields corresponding to the requested resource are sent in the response without any message-body; an entity describing or containing the result of the action;

TRACE an entity containing the request message as received by the end server.

10.2.2 201 Created The request has been fulfilled and resulted in a new resource being created. The newly created resource can be referenced by the URI(s) returned in the entity of the response, with the most specific URI for the resource given by a Location header field. The response SHOULD include an entity containing a list of resource characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is specified by the media type given in the Content-Type header field. The origin server MUST create the resource before returning the 201 status code. If the action cannot be carried out immediately, the server SHOULD respond with 202 (Accepted) response instead. A 201 response MAY contain an ETag response header field indicating the current value of the entity tag for the requested variant just created, see section 14.19.

10.2.3 202 Accepted The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place. There is no facility for re-sending a status code from an asynchronous operation such as this. The 202 response is intentionally non-committal. Its purpose is to allow a server to accept a request for some other process (perhaps a batch-oriented process that is only run once per day) without requiring that the user agent’s connection to the server persist until the process is completed. The entity returned with this response SHOULD include an indication of the request’s current status and either a pointer to a status monitor or some estimate of when the user can expect the request to be fulfilled.

10.2 成功的 2 xx( 成功)

状态密码的这一个班级指出客户的请求成功地被收到,了解, 和一般承认的。

10.2.1200 好请求已经成功。 与回应一起退还的数据依赖被用于请求的方法, 举例来说:

拿头

职位

一个对被请求的资源符合的实体被送出回应; 实体- 首领对被请求的资源符合的领域被送出没有任何的信息回应-身体; 一个实体描述或包含行动的结果;

追踪一个包含如结束伺候器所收到的请求信息的实体。

10.2.2201 产生请求已经被实现而且造成被产生的新资源。 崭新产生的资源藉着在回应的实体中被退还的 URI(s) 可能是叁考的,藉由最特定的 URI 为被一个位置首领领域给的资源。 回应应该包括一个实体包含一连串的资源特性和位置 (s) 从哪一使用者或使用者代理人能选择那一个为最适当的。 实体格式被媒体屈服内容- 类型的首领领域的类型指定。 起源伺候器一定在归还 201 状态密码之前产生资源。 如果行动不能够被立刻实行 ,伺候器应该以 202(一般承认的)个回应改为回应。一个 201 回应可能包含 ETag 回应首领领域指出,因为仅仅产生的被请求的变体,看第 14.19 节,实体的现在价值附以签条。

10.2.3202 接受请求为处理已经被接受,但是那处理没有被完成。请求力气或不可能最后被有所反应, 如同当实际上处理发生的时候,它可能被不许一样。 为再送来自非同步的像如此的操作一个状态密码没有设备。 202 回应是企图非罪行。 它的目的是允许一个伺候器不需要需要就接受对一些其他的程序 ( 也许一个一届定向的程序只是跑曾经每一天) 的请求,使用者和伺候器的代理人关联坚持,直到程序被完成。与这一个回应一起退还的实体应该包括请求的现在状态的指示和一个状态监视器的一个指针或一些估计当使用者能期待要实现的请求时候。