Added a test to verify 429 triggers a client retry based on header. Forced resp.Body.Close() to close after each request, which allows Golang to reuse the TCP connection to the server (should reduce connection establishment under retries). Possibly fixed a server leak of request bodies.
33 KiB
33 KiB