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...
取得或設定 HTTP 回應的 Retry-After 標頭值。 C# 複製 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,...
Web.Http.Headers 编辑 获取或设置 HttpDateOrDeltaHeaderValue 对象,该对象表示 HTTP 响应中 Retry-After HTTP 标头的值。 C# 复制 public HttpDateOrDeltaHeaderValue RetryAfter { get; set; } 属性值 HttpDateOrDeltaHeaderValue 对象,表示 HTTP 响应上的 Retry-After HTTP 标头的值。 null ...
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...
Closed [already possible] Respect Retry-After HTTP header#414 Description nmurf opened on Mar 9, 2018 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...
指定Retry-After HTTP 標頭的索引編號。 C# 複製 public const int HeaderRetryAfter = 25; 欄位值 Value = 25 Int32 備註 .NET Framework會將索引編號指派給每個標準 HTTP 標頭類型,以用於 GetKnownRequestHeader 和SendKnownResponseHeader 方法。 適用於 產品版本 .NET Framework 1.1, 2.0, 3.0, 3.5, ...
()inBaseB2Request.javalook for theRetry-AfterHTTP header in the response. The Backblaze B2 documentation (rate limitsandintegration checklist) say that the error responsemayincludeRetry-After(I think this guidance may have changed over time). For429and503errors whereRetry-Afteris not included, ...
The Retry-After HTTP header. Namespace: System.Net Assembly: System.Http (in System.Http.dll) Syntax C# 複製 public const string RetryAfter .NET Framework Security Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4...
=200{err=fmt.Errorf("HTTP %d: %s",resp.StatusCode,string(body))ifresp.StatusCode==http.StatusTooManyRequests{// check Retry-After header if it contains seconds to wait for the next retryifretryAfter,e:=strconv.ParseInt(resp.Header.Get("Retry-After"),10,32);e==nil{// the server ...