Skip to content

hei-school/retry429

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retry429

An HTTP proxy that retries requests ending into 429 status code. Can also retry any other status code depending on the provided configuration.

Usage

  1. Deploy retry429 into your AWS: sam build && sam deploy --parameter-overrides "TargetHostTemplate=jsonplaceholder.typicode.com TargetProtocol=https RetriedHttpStatuses=429,503" --guided.
  2. Retry429HttpApiUrl now proxies all HTTP calls to jsonplaceholder.typicode.com, and retries those that end into 429 and 503.

Tests

Tests are defined in the tests folder in this project. Use PIP to install the test dependencies and run tests.

$ pip install -r tests/requirements.txt --user
$ python -m pytest tests/unit -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages