Project to test nginx undocumented behaviors.
Examples:
- How nginx handle
Cache-Controlmax-ageands-maxage? - Which is the precedence of
proxy_cache_validdirective and these cache headers? - Request cookies change how cache is handled?
- Response
Set-Cookieavoid cache?
Start nginx and httpbin defined in docker-compose:
$ docker-compose up -d
Install Python dependencies:
$ pip install -r requirements.txt
Run pytest tests:
$ pytest test.py