mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
Former-commit-id: 7bbb330cb4e769222ede5be0adbddc4e37df9e3b
This commit is contained in:
parent
c9e9a4b3bc
commit
cf2670495c
|
@ -275,5 +275,7 @@ func (o *ProblemOptions) Apply(ctx Context) {
|
|||
retryAfterHeaderValue = o.parseRetryAfter(o.RetryAfter, timeLayout)
|
||||
}
|
||||
|
||||
if retryAfterHeaderValue != "" {
|
||||
ctx.Header("Retry-After", retryAfterHeaderValue)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user