cactus / go-camo

A secure image proxy server
MIT License
254 stars 48 forks source link

Implement optional redirect when max-size is exceeded #80

Closed ewdurbin closed 1 month ago

ewdurbin commented 1 month ago

Description

For our use-case, we prefer to display a static image, indicating why the image is not loading, namely:

PyPI Image Too Large Image

This is now one of the only divergences that aren't deployment centric in our fork of go-camo, so I'd be happy to do whatever is necessary to get it merged so we can just run from published images :)

Checklist

dropwhile commented 1 month ago

@ewdurbin Patch looks good. Making the new feature a non-default cli flag is great. ❤️