mattermost/services
Agniva De Sarker 5cb16c9fc7
MM-24395: Set response header to be attachment for SVG images. (#14385)
* 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
2020-04-30 09:03:13 +05:30
..
cache MM-22105: Revert "MM-21210: Add LRU cache for ChannelStore.GetMembersForUser (#13593)" (#13784) 2020-02-05 11:31:39 +05:30
configservice Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
filesstore Removing unnecesary main_test.go files (#13979) 2020-03-05 14:46:52 +01:00
httpservice MM-23666: rewrite TestHTTPClient (#14236) 2020-04-08 09:40:42 -03:00
imageproxy MM-24395: Set response header to be attachment for SVG images. (#14385) 2020-04-30 09:03:13 +05:30
mailservice [MM-17797] Add Timeout To SMTP Connection (#13251) 2020-03-10 18:34:31 +03:00
marketplace [MM-20620] Handle trailing slash when building marketplace api… (#13273) 2019-12-04 17:55:53 +01:00
mfa Increase entropy for MFA secret (#14290) 2020-04-22 18:46:16 +02:00
searchengine [MM-21551] Add search tests structure to test the search engines (#14031) 2020-03-30 19:17:40 +02:00
timezones Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
tracing MM-21898: Part 2. Add opentracing (#13904) 2020-03-05 14:46:08 +01:00