Documentation
¶
Overview ¶
Package httputil provides HTTP utility functions including retry logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRetryOpts ¶
func DefaultRetryOpts() []backoff.RetryOption
DefaultRetryOpts returns the standard retry options used across HTTP clients.
func IsPermanentHTTPError ¶
IsPermanentHTTPError returns true if the HTTP status code represents a permanent (non-retriable) error. Transient errors like 408 (Request Timeout) and 429 (Too Many Requests) are retriable; all other 4xx are permanent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.