Header name for non-retryable nack responses
Response status for a nacked request
Header name for retryable nack responses
Header name for requests that have a body and the client can retry
The Role
assigned to a HttpNackFilter
within a Stack
.
When a server fails with retryable failures, it sends back a
NackResponse
, i.e. a 503 response code with "finagle-http-nack" header. A non-retryable failure will be converted to a 503 with "finagle-http-nonretryable-nack".Clients who recognize the header can handle the response appropriately. Clients who don't recognize the header treat the response the same way as other 503 response.