#1374 http uploaded files get served with no Content-Type
What steps will reproduce the problem?
1. setup mod_http_upload from prosody-modules
2. upload a file with a client
What is the expected output?
Content-Type should be present in the headers when GETing the file.
What do you see instead?
curl --verbose https://the/file doesn't show/see that header.
What version of the product are you using? On what operating system?
prosody: trunk / 737483a4b2e6
Please provide any additional information below.
Reverting prosody-module's b059a3fb2a58 (pointed out by Zash as a test) seems to fix the issue.
mod_http_upload previously relied on mod_http_files to serve the uploaded files, which also included handling of mime types. The file serving part of mod_http_files have been split up in trunk to simplify reuse, but the mime handling parts are still in mod_http_files and mod_http_upload no longer gets that handled.