HTTP 103 Early Hints vs 204 No Content
HTTP 103 (Early Hints) is a 1xx Informational response, while 204 (No Content) is a 2xx Success response. 103 indicates that used to return some response headers before the final HTTP message. Allows the browser to start preloading resources while the server prepares the response. In contrast, 204 means that the server successfully processed the request but is not returning any content. Common for DELETE operations and form submissions that don't need a response body.
Descrição
Used to return some response headers before the final HTTP message. Allows the browser to start preloading resources while the server prepares the response.
Quando você o vê
When a server wants the browser to start loading CSS/JS before the full response is ready.
Como corrigir
No fix needed. This optimization helps speed up page loading.
Descrição
The server successfully processed the request but is not returning any content. Common for DELETE operations and form submissions that don't need a response body.
Quando você o vê
After DELETE requests, PUT updates where no body is needed, or CORS preflight responses.
Como corrigir
No fix needed. The action was successful; there is simply no content to return.
Diferenças principais
103 is a 1xx Informational response, while 204 is a 2xx Success response.
HTTP 103: Used to return some response headers before the final HTTP message. Allows the browser to start preloading resources while the server prepares the response.
HTTP 204: The server successfully processed the request but is not returning any content. Common for DELETE operations and form submissions that don't need a response body.
You encounter 103 when when a server wants the browser to start loading CSS/JS before the full response is ready.
You encounter 204 when after DELETE requests, PUT updates where no body is needed, or CORS preflight responses.
Quando usar qual
For 103 (Early Hints): No fix needed. This optimization helps speed up page loading. For 204 (No Content): No fix needed. The action was successful; there is simply no content to return.