Files
penpot/backend/test/backend_tests
Andrey Antukh 70030fa9e3 🐛 Fix download-image to properly handle network errors and non-2xx responses (#8554)
The download-image function in app.media silently succeeded when the
remote image URL was unreachable or returned an error status code,
causing create-file-media-object-from-url to report success with no
actual image stored.

Add exception handling for connection refused, timeouts, and I/O errors
around the HTTP request, and validate the HTTP status code in
parse-and-validate before processing the response body.

Fixes #8499

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-10 10:04:07 +01:00
..
2025-10-07 12:08:00 +02:00
2025-10-13 12:24:05 +02:00
2025-11-10 17:10:59 +01:00
2025-10-13 12:24:05 +02:00