Files
whisper.cpp/examples
Igor Loskutov 136dc2eb12 server: return proper HTTP status codes for error responses (#3707)
Several error paths in the /inference and /load endpoints returned
HTTP 200 with a JSON error body, making it impossible for clients
to distinguish errors from successful responses by status code.

Set 400 for client errors (missing file field, unreadable audio,
missing/invalid model) and 500 for server errors (ffmpeg conversion
failure). The two existing status-code sites (499 for client
disconnect, 500 for processing failure) are unchanged.
2026-03-16 13:33:06 +02:00
..
2024-11-18 14:57:23 +02:00
2026-03-16 13:10:15 +02:00
2025-09-30 21:28:03 +03:00
2025-10-27 08:49:32 +02:00
2026-03-16 13:10:15 +02:00
2023-11-20 13:16:38 +02:00