web-api: unify speed test with gateway check, add JSON mode for /api/check
When file URL is given, speed test replaces gateway HTTP checks as the
availability indicator — one unified section instead of two separate lists.
Support dual response format: SSE for browsers (Accept: text/event-stream),
JSON for curl/scripts (default). This prevents breaking existing API clients.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment