actix-web icon indicating copy to clipboard operation
actix-web copied to clipboard

add setup to compress middleware

Open topenkoff opened this issue 2 years ago • 1 comments

PR Type

Feature

PR Checklist

  • [x] Tests for the changes have been added / updated.
  • [x] Documentation comments have been added / updated.
  • [x] A changelog entry has been made for the appropriate packages.
  • [x] Format code with the latest stable rustfmt.
  • [x] (Team) Label with affected crates and semver status.

Overview

Add level setup for middleware::Compress

Closes #2928

topenkoff avatar Dec 15 '22 15:12 topenkoff

It seems to me that setting one level to apply to all compression formats is not a good enough solution. We'd need a compression level setting per encoding.

robjtede avatar Feb 26 '23 14:02 robjtede