openwrt / asu

An image on demand server for OpenWrt based distributions
https://sysupgrade.openwrt.org
GNU General Public License v2.0
333 stars 84 forks source link

Overwrite FileResponse Content-Type with application/octet-stream for all files in /store #1064

Open AliveDevil opened 3 weeks ago

AliveDevil commented 3 weeks ago

Fixes #1059

AliveDevil commented 3 weeks ago

Should these be squashed? @aparcar

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 73.33333% with 4 lines in your changes missing coverage. Please review.

Project coverage is 90.47%. Comparing base (5e65dec) to head (122d701). Report is 141 commits behind head on main.

Files with missing lines Patch % Lines
asu/fastapi/StaticFiles.py 69.23% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1064 +/- ## ========================================== + Coverage 80.75% 90.47% +9.71% ========================================== Files 15 15 Lines 977 1123 +146 ========================================== + Hits 789 1016 +227 + Misses 188 107 -81 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.