Fishrock123 / tide-compress

Outgoing compression middleware for the Tide web framework.
https://crates.io/crates/tide-compress
Other
24 stars 7 forks source link

fix encoding detection #3

Closed SchrodingerZhu closed 4 years ago

SchrodingerZhu commented 4 years ago

thought not robust as the first sense, it should be okay to use contains to workaround the problem

SchrodingerZhu commented 4 years ago

should fix #2

Fishrock123 commented 4 years ago

Thanks, landed as https://github.com/Fishrock123/tide-compress/commit/2fdddc0367aa4dcc0fecbd98662dedd29f1b6edb