HF RL Explorer

Throttle middleware returns wrong status code when StatusCode is 0

Throttle middleware returns wrong status code when StatusCode is 0: a task in UltraTerminal (Harbor dataset). When using the throttle middleware with default options (StatusCode = 0), the middleware incorrectly returns a 200 OK status instead of the expected 429 Too Many Requests status when rate…

The task

When using the throttle middleware with default options (StatusCode = 0), the middleware incorrectly returns a 200 OK status instead of the expected 429 Too Many Requests status when rate limiting is triggered.

Part of harness-hub/UltraTerminal.