web8080 origin testbed

Static site on :8080 with CDN/origin test endpoints.

Endpoints
/debug/headers
/status/<code>
/delay/<ms>
/cache/etag?key=<k>
/redirect?to=<url>&code=302
/size/<bytes>
/stream/<seconds>?interval_ms=200&chunk_bytes=256
Quick examples
# echo headers
curl -sS http://31.58.152.44:8080/debug/headers -H "X-CDN-Test: 1"

# status code
curl -i http://31.58.152.44:8080/status/429

# delay
curl -sS http://31.58.152.44:8080/delay/800

# etag + 304
ETAG=$(curl -sS -D- "http://31.58.152.44:8080/cache/etag?key=abc" -o /dev/null | awk -F": " "tolower(\$1)==\"etag\"{print \$2}" | tr -d "\r")
curl -i "http://31.58.152.44:8080/cache/etag?key=abc" -H "If-None-Match: $ETAG"

# redirect
curl -I "http://31.58.152.44:8080/redirect?to=%2F&code=302"

# fixed payload size
curl -sS -o /dev/null -w "bytes=%{size_download}\n" http://31.58.152.44:8080/size/12345

# streaming (chunked)
curl -N "http://31.58.152.44:8080/stream/2?interval_ms=200&chunk_bytes=64"

Note: endpoints are public now; rely on your CDN built-in origin auth/token if needed.