服务器必须在响应中包含有关冲突的信息。服务器在响应与前一个请求相冲突的 PUT 请求时可能会返回此代码,以及两个请求的差异列表。 410(已删除) 请求的资源永久删除后,服务器返回此响应。该代码与 404(未找到)代码相似,但在资源以前存在而现在不存在的情况下,有时会用来替代 404 代码。如果资源已永久删除,应当...
200 — OK: This is the standard response for successful HTTP requests. The actual meaning of the response depends on the request method used: GET: Resource obtained and is in the message body HEAD: Headers are included in the response POST or PUT: Resource describing the result of the actio...
428 “Precondition Required”– The server requires the request to be conditional. In most cases, this response is used to prevent conflicts when a client uses the GET method to request a resource, modifies it, and then uses PUT to upload the new version while another party may have also ...
400 Bad Request (some situations: Invalid Request)YesSyntax error in request (such as request line wrongly specified, request incomplete,problem in Atom entry for Atom POST or PUT request). OR Host header is not supplied (HTTP/1.1 only). OR A PUT request without an If-Match header was rec...
The HTTP status code is recorded in the IIS log. IIS 7.0 and later versions put log files in the following folder by default: inetpub\logs\Logfiles This folder contains separate directories for each website. The log files are created in the directories daily and are named by using the date...
The server does not meet one of the preconditions that the requester put on the request. RequestEntityTooLarge 413 The request is larger than the server is willing or able to process. RequestUriTooLong 414 Provided URI length exceeds the maximum length the server can process. UnsupportedMediaTyp...
Gin框架编写PUT接口使用BindJSON绑定参数报错,当结构体绑定参数有误时, 状态码为400,强制返回200,结果code还是400...这将响应状态码设置为400,并将Content-Type标题设置为text/plain; charset=utf-8。...Wanted to override status...
CodeDescription 200 OKOne of the following REST operations were successful: -GETon a resource. -PUTon a resource. -POSTon a resource. -POSTon a stored procedure resource to execute the stored procedure. 201 CreatedA POST operation to create a resource is successful. ...
For example, this status code occurs when you try to GET a file that does not exist, or when you try to PUT a file in a directory for which you do not have Write access.The FTP substatus codesThis section describes the FTP substatus codes that IIS 7....