Commit Graph

22 Commits

Author SHA1 Message Date
melnikov77 6699804fe9 Do not compress response if it is already compressed (#305) (#365) 2018-09-20 12:01:06 -07:00
Kristian Hellang 767b3efa04 Add Brotli compression provider (#342)
* Added failing test for Brotli compression

* Added Brotli compression provider

* Add Brotli to existing test cases

* Add failing test for accept encoding order

* Use compression provider order when selecting provider

* Some test cleanup

* PR feedback

* Added benchmarks for GetCompressionProvider

* Added Brotli configuration order test

* PR feedback

* Switch Brotli and Gzip priority
2018-07-10 12:44:01 -07:00
Ryan Brandenburg 1c0918c1f1 Upgrade to netcoreapp22 2018-05-08 11:14:57 -07:00
Pranav K 759148da4c Update samples and tests to target netcoreapp2.1 2017-11-14 09:54:42 -08:00
John Luo 8b506cf36c Cross-compile Response Compression
- GZipStream is not flushable on .NET Framework
2017-05-22 10:31:55 -07:00
Chris Ross (ASP.NET) 2181158eb5 React to Content-Md5 fix 2017-05-09 09:07:09 -07:00
Pavel Krymets 733e24f9bc netcoreapp2.0 (#228) 2017-05-05 12:01:15 -07:00
Pranav K a641231f66 Remove net451 as a cross-compile target 2017-03-23 11:27:45 -07:00
Kiran Challa 7e9b92072e Converted samples and test projects to run on netcoreapp2.0 2017-03-23 09:52:35 -07:00
Doug Bunting f1231e81ec Bump test projects up to .NET 4.5.2
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
2017-02-14 12:15:29 -08:00
John Luo 6855f9bca1 Add Vary: Accept-Encoding if response MIME type is compressible 2017-01-20 15:05:46 -08:00
Chris R 1bd071de7a #108 Set default mime types to compress 2016-10-14 10:48:42 -07:00
Chris R e7b41c4f53 #108 Move compression providers back to options 2016-10-13 16:25:36 -07:00
Pranav K 88b78e7233 Updating to netcoreapp1.1 2016-10-13 11:11:48 -07:00
Pranav K 887bd70fd3 Revert "Updating to netcoreapp1.1"
This reverts commit 151bb91997.
2016-10-12 16:07:55 -07:00
Pranav K 151bb91997 Updating to netcoreapp1.1 2016-10-12 13:44:49 -07:00
Chris R 511d711620 #108 compression code cleanup 2016-10-12 11:28:50 -07:00
Chris R cd833a7d63 #108 Have response compression replace IHttpSendFileFeature 2016-10-05 16:00:12 -07:00
Chris R 3cb0fc640a #108 Make flush work for response compression 2016-10-04 13:10:06 -07:00
Chris R 9bc8a83a39 #108 Change ResponseCompression to be DI centric 2016-09-30 10:15:46 -07:00
Chris R 665f2f8773 ResponseCompression style cleanup 2016-09-26 12:11:45 -07:00
Yves57 2a402abefe Response Compression middleware 2016-09-26 10:37:33 -07:00