Header type Response header Forbidden header name no 句法 代码语言:javascript 复制 Retry-After:<http-date>Retry-After:<delay-seconds> 指令 <http-date> 之后重试的日期。有关DateHTTP 日期格式的更多详细信息,请参阅标头。<delay-seconds> 一个非负十进制整数,表示接收到响应后的延迟秒数。
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]...
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]...
aIf known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, 如果已知,延迟的长度在a也许被表明再试在倒栽跳水以后。 如果再试以后没有被给, [translate] 英语翻译 日语翻译 韩语翻译 德语翻译 法语翻译 俄语翻译 阿拉伯语翻译 西班牙语翻译 葡萄牙语翻译 ...
获取或设置一个值,该值指示是否对重试延迟使用 Retry-After 标头。 C# 复制 public bool ShouldRetryAfterHeader { get; set; } 属性值 Boolean 默认为 true。 注解 如果 属性设置为 true ,则生成器将根据标头规则解决延迟 Retry-After ,否则它将返回 null ,重试策略延迟将根据配置的选项生成延迟...
Retry-Afteris a lesser known HTTP response header. Let me quote relevant part ofRFC 2616 (HTTP 1.1 spec): 14.37 Retry-After TheRetry-Afterresponse-header field can be used with a503(Service Unavailable) response to indicate how long the service is expected to be unavailable to the requesting...
The command line client's --retry option should recognize and honor the 429 HTTP status return and the accompanying 'Retry-After' header. Affects all versions, but I happen to be running: curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/...
On behalf of @Cherish98 (originally posted here) I did this I was trying to download lots of files with curl. Due to rate limit on the server side, I enabled the --retry option so that curl retries when the server returns HTTP 429 Too Ma...
public System.Net.Http.Headers.RetryConditionHeaderValue? RetryAfter { get; set; } 屬性值 RetryConditionHeaderValue HTTP 回應的 Retry-After 標頭值。 適用於 產品版本 .NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 .NET Framework 4.5, ...
HeaderRetryAfter 欄位 參考 意見反應 定義 命名空間: System.Web 組件: System.Web.dll 指定Retry-After HTTP 標頭的索引編號。 C# 複製 public const int HeaderRetryAfter = 25; 欄位值 Value = 25 Int32 備註 .NET Framework會將索引編號指派給每個標準 HTTP 標頭類型,以用於 GetKnownRequest...