Header type Response header Forbidden header name no 句法 代码语言:javascript 复制 Retry-After:<http-date>Retry-After:<delay-seconds> 指令 <http-date> 之后重试的日期。有关DateHTTP 日期格式的更多详细信息,请参阅标头。<delay-seconds> 一个非负十进制整数,表示接收到响应后的延迟秒数。
Retry-AfterHTTP response header is neither universally known nor often applicable. But in rather rare cases when downtime can be anticipated, consider implementing it on the server side. If clients are aware of it as well, you can significantly reduce network traffic while improving system throughp...
When you have been limited, use theRetry-Afterresponse header to slow down. The value of theRetry-Afterheader will always be an integer, representing the number of seconds you should wait before making requests again. For example,Retry-After: 30means you should wait 30 seconds before sending ...
https://raw.githubusercontent.com/hugoalh/http-header-retry-after-es/{Tag}/mod.ts JSR: [jsr:]@hugoalh/http-header-retry-after[@{Tag}] NPM: [npm:]@hugoalh/http-header-retry-after[@{Tag}] [!NOTE] For usage of remote resources, it is recommended to import the entire module with th...
alength of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response. 延迟的长度在a也许被表明再试在倒栽跳水以后。 如果再试以后没有被给,客户应该处理反应,当它为500反应会。[translate]...
a希望陪你 正在翻译,请等待... [translate] a状态显示 Condition demonstration [translate] adid you enjoy that night? 您是否享受那夜? [translate] aIf known, the length of the delay may be indicated in a Retry-After header. 如果已知,延迟的长度在a也许被表明再试在倒栽跳水以后。 [translate] ...
The Retry-After response header is used to indicate how long a client should wait before sending the next request. It would be great if RetryPolicy took this into account. Pseudocode: var serverWaitDuration = getServerWaitDuration(response.Headers.Get("Retry-After")); var waitDuration = Math...
获取或设置一个值,该值指示是否对重试延迟使用 Retry-After 标头。 C# 复制 public bool ShouldRetryAfterHeader { get; set; } 属性值 Boolean 默认为 true。 注解 如果 属性设置为 true ,则生成器将根据标头规则解决延迟 Retry-After ,否则它将返回 null ,重试策略延迟将根据配置的选项生成延迟...
HeaderRetryAfter 欄位 參考 意見反應 定義 命名空間: System.Web 組件: System.Web.dll 指定Retry-After HTTP 標頭的索引編號。 C# 複製 public const int HeaderRetryAfter = 25; 欄位值 Value = 25 Int32 備註 .NET Framework會將索引編號指派給每個標準 HTTP 標頭類型,以用於 GetKnownRequest...
aThe implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response. The implication...