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
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
main.go Implemented more comprehensive file compression to handle large files 2022-09-05 16:06:04 +01:00
main_test.go
manipulation.go Implemented more comprehensive file compression to handle large files 2022-09-05 16:06:04 +01:00
manipulation_test.go
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