doc:code_html

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
doc:code_html [2020/04/15 11:02] erreur32doc:code_html [2022/11/08 16:43] (Version actuelle) – modification externe 127.0.0.1
Ligne 10: Ligne 10:
 ====== HTTP CODES 200-206 ====== ====== HTTP CODES 200-206 ======
  
-**200** - OK -  <em>  The request sent by the client was successful.  </em><strong> 201 </strong>  - Created  -  <em>  The request was successful and a new resource was created. +**200** - OK -     The request sent by the client was successful.  
  
-**202** - Accepted   <em>  The request has been accepted for processing, but has not yet been processed </em>+**201** - Created     The request was successful and a new resource was created
  
-**203** - Non-Authoritative Information   <em>  The returned meta information in the entity-header is not the definitive set as available from the origin server </em>+**202** - Accepted      The request has been accepted for processing, but has not yet been processed  
  
-**204** - No Content   -  <em>  The request was successful but does not require the return of an entity-body.  </em><strong>  205   </strong> - Reset Content    <em>  The request was successful but the User-Agent should reset the document view that caused the request </em>+**203** - Non-Authoritative Information    The returned meta information in the entity-header is not the definitive set as available from the origin server  
  
-**206** - Partial Content    <em>  The partial GET request has been successful.  </em>+**204** - No Content       The request was successful but does not require the return of an entity-body.
  
 +**205** - Reset Content      The request was successful but the User-Agent should reset the document view that caused the request.   
  
-HTTP CODES 300-307 +**206** Partial Content   -   The partial GET request has been successful.   
-<div class="level1"> +
-<strong>  300 </strong>  - Multiple Choices   -  <em>   The requested resource has multiple possibilities, each with different locations.  </em><strong> 301 </strong>  - Moved Permanently  -  <em>   The resource has permanently moved to a different   URI  .  </em><strong> 302 </strong>  - Found  -  <em>   The requested resource has been found under a different   URI   but the client should continue to use the original   URI  .  </em><strong> 303 </strong>  - See Other  -  <em>   The requested response is at a different   URI   and should be accessed using a GET command at the given   URI  .  </em><strong> 304 </strong>  - Not Modified    <em>   The resource has not been modified since the last request.  </em><strong> 305 </strong>  - Use Proxy    <em>   The requested resource can only be accessed through the proxy specified in the location field.  </em><strong> 306 </strong>  - No Longer Used  -  <em>  Reserved for future use.  </em><strong> 307 </strong>  - Temporary Redirect  -  <em>  The resource has temporarily been moved to a different   URI  The client should use the original   URI   to access the resource in future as the   URI   may change.  </em> +
-</div>+
  
-HTTP CODES 400-417 
-<div class="level1"> 
-<strong> 400 </strong>  - Bad Request -  <em>  The syntax of the request was not understood by the server.  </em><strong> 401 </strong>  - Not Authorised -  <em>  The request needs user authentication  </em><strong> 402 </strong>  - Payment Required -  <em>  Reserved for future use.  </em><strong> 403 </strong>  - Forbidden -  <em>  The server has refused to fulfill the request.  </em><strong> 404 </strong>  - Not Found -  <em>   
-The document/file requested by the client was not found.  </em><strong> 405 </strong>  - Method Not Allowed -  <em>  The method specified in the Request-Line is not allowed for the specified resource.  </em> 406 - Not Acceptable -  <em>  The resource requested is only capable of generating response entities which have content characteristics not specified in the accept headers sent in the request.  </em> 407 - Proxy Authentication Required -  <em>  The request first requires authentication with the proxy.  </em> 408 - Request Timeout -  <em>  The client failed to sent a request in the time allowed by the server.  </em><strong> 409 </strong>  - Conflict -  <em>   
-The request was unsuccessful due to a conflict in the state of the resource.  </em><strong> 410 </strong>  - Gone -  <em>   
-The resource requested is no longer available and no forwarding address is available.  </em> 411 - Length Required -  <em>   
-The server will not accept the request without a valid Content-Length header field.  </em> 412 - Precondition Failed -  <em>   
-A precondition specified in one or more Request-Header fields returned false.  </em> 413 - Request Entity Too Large -  <em>   
-The request was unsuccessful because the request entity is larger than the server will allow.  </em> 414 - Request   URI   Too Long -  <em>   
-The request was unsuccessful because the   URI   specified is longer than the server is willing to process.  </em> 415 - Unsupported Media Type -  <em>   
-The request was unsuccessful because the entity of the request is in a format not supported by the requested resource for the method requested.  </em> 416 - Requested Range Not Satisfiable -  <em>  The request included a Range request-header field, and not any of the range-specifier values in this field overlap the current extent of the selected resource, and also the request did not include an If-Range request-header field.  </em> 417 - Expectation Failed -  <em>  The expectation given in the Expect request-header could not be fulfilled by the server.  </em> 
-</div> 
  
-HTTP CODES 500-505 +====== HTTP CODES 300-307 ======
-<div class="level1"> +
-<strong> 500 </strong>  - Internal Server Error -  <em>  The request was unsuccessful due to an unexpected condition encountered by the server.  </em><strong> 501 </strong>  - Not Implemented -  <em>  The request was unsuccessful because the server can not support the functionality needed to fulfill the request.  </em><strong> 502 </strong>  - Bad Gateway -  <em>  The server received an invalid response from the upstream server while trying to fulfill the request.  </em><strong> 503 </strong>  - Service Unavailable -  <em>  The request was unsuccessful to the server being down or overloaded.  </em><strong> 504 </strong>  - Gateway Timeout -  <em>  The upstream server failed to send a request in the time allowed by the server.  </em><strong> 505 </strong>  - HTTP Version Not Supported -  <em>  The server does not support or is not allowing the HTTP protocol version specified in the request.   </em>   +
-</div>+
  
 +**300** - Multiple Choices    The requested resource has multiple possibilities, each with different locations.
 +
 +**301** - Moved Permanently  -  <em>   The resource has permanently moved to a different   URI 
 +
 +**302** - Found  -    The requested resource has been found under a different   URI   but the client should continue to use the original   URI  .
 +
 +**303** - See Other  -  <em>   The requested response is at a different   URI   and should be accessed using a GET command at the given   URI  .  
 +
 +**304** - Not Modified    <em>   The resource has not been modified since the last request.  
 +
 +**305** - Use Proxy      The requested resource can only be accessed through the proxy specified in the location field.  
 +
 +**306** - No Longer Used  -  <em>  Reserved for future use.  
 +
 +**307** - Temporary Redirect  -    The resource has temporarily been moved to a different   URI  . The client should use the original   URI   to access the resource in future as the   URI   may change. 
 +
 +
 +====== HTTP CODES 400-417 ======
 +
 +
 +**400 ** - Bad Request - The syntax of the request was not understood by the server.
 +
 +**401** - Not Authorised - The request needs user authentication  
 +
 +**402** - Payment Required - Reserved for future use. 
 +
 +**403** - Forbidden - The server has refused to fulfill the request.
 +
 +**404** - Not Found -  The document/file requested by the client was not found. 
 +
 +**405** - Method Not Allowed -  The method specified in the Request-Line is not allowed for the specified resource. 
 +
 +**406** - Not Acceptable -  The resource requested is only capable of generating response entities which have content characteristics not specified in the accept headers sent in the request. 
 +
 +**407** - Proxy Authentication Required - The request first requires authentication with the proxy. 
 +
 +**408** - Request Timeout -   The client failed to sent a request in the time allowed by the server.
 +
 +**409** - Conflict -  The request was unsuccessful due to a conflict in the state of the resource. 
 +
 +**410** - Gone -  The resource requested is no longer available and no forwarding address is available. 
 +
 +**411** - Length Required -  The server will not accept the request without a valid Content-Length header field.  
 +
 +**412** - Precondition Failed -  A precondition specified in one or more Request-Header fields returned false.  
 +
 +**413** - Request Entity Too Large - The request was unsuccessful because the request entity is larger than the server will allow.  
 +
 +**414** - Request   URI   Too Long -   The request was unsuccessful because the   URI   specified is longer than the server is willing to process. 
 +
 +**415** - Unsupported Media Type -  The request was unsuccessful because the entity of the request is in a format not supported by the requested resource for the method requested.  
 +
 +**416** - Requested Range Not Satisfiable -   The request included a Range request-header field, and not any of the range-specifier values in this field overlap the current extent of the selected resource, and also the request did not include an If-Range request-header field.
 +  
 +**417** - Expectation Failed -    The expectation given in the Expect request-header could not be fulfilled by the server.  
 +
 +
 +
 +
 +====== HTTP CODES 500-505 ======
 +
 +**500** - Internal Server Error -  The request was unsuccessful due to an unexpected condition encountered by the server. 
 +
 +**501** - Not Implemented -   The request was unsuccessful because the server can not support the functionality needed to fulfill the request.
 +
 +**502** - Bad Gateway -  <em>  The server received an invalid response from the upstream server while trying to fulfill the request.
 +
 +**503** - Service Unavailable -  The request was unsuccessful to the server being down or overloaded. 
 +
 +**504** - Gateway Timeout -  The upstream server failed to send a request in the time allowed by the server. 
 +
 +**505** - HTTP Version Not Supported -  The server does not support or is not allowing the HTTP protocol version specified in the request.   
 +
 +
 +{{tag>code http}}
  • doc/code_html.1586941370.txt
  • Dernière modification : 2020/04/15 11:02
  • de erreur32