Files
DeepTutor/tests/api
Rudy Celekli c77f888966 fix(api): honor a data: URL's declared MIME for quiz-answer images
The quiz judge stripped the data: prefix from a submitted answer image and
re-guessed the MIME from the filename, so a JPEG photo sent as
data:image/jpeg with the default answer.png filename was relabelled
image/png and rejected by strict vision providers. Parse the media type
from the data URL and prefer it over the filename guess (an explicit
mime_type field still wins); same fix for the legacy single-image branch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-02 00:44:23 -05:00
..
2026-06-11 20:03:34 +08:00
2026-09-02 04:09:11 +08:00
fix
2026-10-28 12:28:20 +08:00
2026-09-02 04:09:11 +08:00
2026-09-22 21:36:27 +08:00
2026-06-21 14:43:41 +08:00
2026-08-02 13:07:32 +08:00
2026-10-04 21:35:00 +08:00
2026-10-04 21:35:00 +08:00