4xx Client Error
You're trying to do something too early in the connection process. It's like trying to order food before the restaurant is fully open.
Use 425 when the server will not risk processing a replayable request sent in TLS early data.
POST https://api.example.test/api/paymentThis request was sent in TLS 0-RTT early data; an intermediary may add Early-Data: 1 before forwarding to the origin server.
425 Too Early
# Headers
Content-Type: application/json
# Body
{
"error": "too_early"
}DELETE https://api.example.test/api/users/123This request was sent in TLS 0-RTT early data; an intermediary may add Early-Data: 1 before forwarding to the origin server.
425 Too Early
# Headers
Content-Type: application/json
# Body
{
"error": "too_early"
}