Backport: Factor out handling for errors, stats, and logs. Add nosniff protection.

9 files changed
tree: 105e59a1d96a48474e27ef874444bd869d37260a
  1. src/
  2. LICENSE