{"id":52412,"library":"projectdiscovery-retryablehttp-go","title":"RetryableHTTP-Go","description":"Package retryablehttp provides a familiar HTTP client interface with automatic retries and exponential backoff.","status":"active","version":"1.3.10","language":"go","source_language":null,"source_url":"https://github.com/projectdiscovery/retryablehttp-go","tags":["http","retry","client","backoff"],"install":[{"cmd":"go get github.com/projectdiscovery/retryablehttp-go","lang":"bash","label":"Install github.com/projectdiscovery/retryablehttp-go"}],"dependencies":[],"imports":[{"symbol":"retryablehttp","correct":"github.com/projectdiscovery/retryablehttp-go"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/projectdiscovery/retryablehttp-go\"\n)\n\nfunc main() {\n\tclient := retryablehttp.NewClient()\n\tresp, err := client.Get(\"https://example.com\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(resp.StatusCode)\n}","lang":"go","description":"Create a retryable HTTP client and make a GET request"},"warnings":[{"fix":"Use retryablehttp.ReaderFunc or *bytes.Buffer for request bodies.","message":"Request body must be provided as a function or buffer for retries to work correctly.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'automat':13 'backoff':17,21 'client':10,20 'exponenti':16 'familiar':8 'go':3 'http':9,18 'interfac':11 'packag':4 'provid':6 'retri':14,19 'retryablehttp':2,5 'retryablehttp-go':1","created_at":"2026-06-15T06:53:36.095851+00:00","updated_at":"2026-06-15T06:53:36.095851+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/projectdiscovery/retryablehttp-go","github":"https://github.com/projectdiscovery/retryablehttp-go","docs":"https://pkg.go.dev/github.com/projectdiscovery/retryablehttp-go#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}