Skip to content
Snippets Groups Projects
Unverified Commit f5c6a808 authored by Shay's avatar Shay Committed by GitHub
Browse files

Handle missing Content-Type header when accessing remote media (#11200)


* add code to handle missing content-type header and a test to verify that it works

* add handling for missing content-type in the /upload endpoint as well

* slightly refactor test code to put private method in approriate place

* handle possible null value for content-type when pulling from the local db

* add changelog

* refactor test and add code to handle missing content-type in cached remote media

* requested changes

* Update changelog.d/11200.bugfix

Co-authored-by: default avatarSean Quah <8349537+squahtx@users.noreply.github.com>

Co-authored-by: default avatarSean Quah <8349537+squahtx@users.noreply.github.com>
parent e81fa926
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment