status-go/images
Pascal Precht 2cac37c1fb fix(images): ensure decode from URL emits error on HTTP error code
We should emit an error when the request to an image to be fetched
returns and HTTP error code. Otherwise, we'll run into other higher
level errors down the line, which are misleading

Example: I kept seeing "image content type not supported" errors,
although the content type *is* supported. The actual problem was that
the decode function operates on non existing image bytes.
2022-09-19 12:55:17 +02:00
..
cropped_image.go feat: add banner support for communities 2022-05-27 14:42:14 +03:00
decode.go fix(images): ensure decode from URL emits error on HTTP error code 2022-09-19 12:55:17 +02:00
decode_test.go fix(images): ensure decode from URL emits error on HTTP error code 2022-09-19 12:55:17 +02:00
encode.go Added FileSizeError instead of clunky awful string comparison 2022-09-05 16:06:04 +01:00
encode_test.go Added FileSizeError instead of clunky awful string comparison 2022-09-05 16:06:04 +01:00
identity.go Moved protobuf marshalling closer to the structs that get marshalled 2022-08-22 13:27:59 +01:00
identity_test.go Sync profile picture 2022-04-21 19:50:31 +03:00
main.go Implemented more comprehensive file compression to handle large files 2022-09-05 16:06:04 +01:00
main_test.go feat: add banner support for communities 2022-05-27 14:42:14 +03:00
manipulation.go Implemented more comprehensive file compression to handle large files 2022-09-05 16:06:04 +01:00
manipulation_test.go feat: add banner support for communities 2022-05-27 14:42:14 +03:00
meta.go Implemented more comprehensive file compression to handle large files 2022-09-05 16:06:04 +01:00
test_data.go Added multiaccounts.Database tests for new funcs 2022-08-22 13:27:59 +01:00