mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-11 23:03:45 -05:00
* MM-24395: Set response header to be attachment for SVG images. We check the file extension and appropriately set the response header. SVG images without a file extension aren't proxied at all. So there's no problem with that. * Add test * Improve test a bit * Capture content type * incorporate comments * Set attachment mode in case of error too |
||
|---|---|---|
| .. | ||
| atmos_camo.go | ||
| atmos_camo_test.go | ||
| error.go | ||
| imageproxy.go | ||
| imageproxy_test.go | ||
| local.go | ||
| local_test.go | ||