Add Retry-After
HTTP header [optional] to HTTP 503 & 413 responses
#67
Labels
enhancement
New feature or request
Following up #45 and #63 issues, the devs might want to return a value in the Retry-After header.
As per the specs on 413 and 503 HTTP codes:
To get it done, the implementation should include:
int
parameter (to indicate the waiting period) toIDomainResult
in methodsContentTooLarge()
andCriticalDependencyError()
.DomainResultExtensions
andDomainResultExtensions
inDomainResults.Mvc
project.This would require breaking changes to
IDomainResultBase
interface to store theRetry-After
, which might add unnecessary complexity which will be consumed just by a handful of devs.The text was updated successfully, but these errors were encountered: