cubicweb #2553066 mime type not set to html if an error occurs in download_data [done]

for instance, in our crm internal application, if the file associated to a document doesn't exist on the fs.

prioritynormal
typebug
done in3.15.11
load left0.000
closed by#b61a7c6352f2 [web publish] in case of error, ensure proper http status is set and Content-disposition header is reseted. Closes #2553066
patch[web publish] in case of error, ensure proper http status is set and Content-disposition header is reseted. Closes #2553066 [applied]