Matthew Holt
|
05957b4965
|
gzip: Implement http.Hijacker (fixes #635)
|
2016-02-24 12:23:50 -07:00 |
|
Alexey Khalyapin
|
c9e0517e5e
|
Add .svg to default ext list in gzip middleware
|
2016-01-14 11:52:03 +03:00 |
|
Abiola Ibrahim
|
12cd2d528c
|
Gzip: Fix for wrong content-type when templates is used.
|
2016-01-12 15:06:08 +01:00 |
|
Matthew Holt
|
6d49392602
|
Improve tests, fix a few lint warnings
|
2016-01-06 16:04:33 -07:00 |
|
Abiola Ibrahim
|
55d22f4ead
|
Merge remote-tracking branch 'upstream/master'
|
2015-12-21 20:49:01 +01:00 |
|
Abiola Ibrahim
|
a946d65fe6
|
Oops. Tests.
|
2015-12-18 21:25:06 +01:00 |
|
Abiola Ibrahim
|
f04ff063ed
|
Gzip: Fix missing gzip encoding headers.
|
2015-12-18 20:58:23 +01:00 |
|
Craig Peterson
|
34d3cd7c92
|
Gzip: Append to Vary header instead of replacing.
|
2015-12-15 08:56:44 -07:00 |
|
Abiola Ibrahim
|
a44d59f1e5
|
Use ioutil.Discard instead for unneeded bytes.
|
2015-12-09 18:44:25 +01:00 |
|
Abiola Ibrahim
|
23631cfaca
|
Fix deleted Content-Length header bug.
|
2015-12-08 12:01:24 +01:00 |
|
Abiola Ibrahim
|
8631f33940
|
remove minor ugly parenthesis
|
2015-12-07 23:27:57 +01:00 |
|
Abiola Ibrahim
|
ab5087e215
|
Gzip: support for min_length.
|
2015-12-07 23:17:05 +01:00 |
|
Tatsuhiko Kubo
|
69662d4d7d
|
gzip: added Vary: Accept-Encoding to response header.
When the downstream is cache server or CDN, it is important.
|
2015-11-14 06:11:37 +09:00 |
|
buddhamagnet
|
57f1d3c205
|
pass golint
pass all tests
respond to maintainer comments
reinstate assignment of t
correct typo
correct typo
pass linter some more
|
2015-11-05 00:40:35 +00:00 |
|
Zac Bergquist
|
f9bc74626d
|
Address various lint and gocyclo warnings. Fixes #253
|
2015-10-11 16:28:02 -04:00 |
|
Abiola Ibrahim
|
4588812d24
|
Gzip: Fix wildcard extension bug.
|
2015-07-06 06:36:48 +01:00 |
|
Matthew Holt
|
b5579ca910
|
gzip: Remove mimes
|
2015-07-03 18:13:30 -06:00 |
|
Matthew Holt
|
32ef35b952
|
gzip: Fix tests
|
2015-07-01 19:05:31 -06:00 |
|
Matthew Holt
|
abf22909f1
|
gzip: Make it gzip again
|
2015-07-01 18:56:30 -06:00 |
|
Abiola Ibrahim
|
e0f10c2b03
|
Gzip: Accept MIME types.
|
2015-06-10 22:02:08 +01:00 |
|
Abiola Ibrahim
|
13db60d382
|
rename gzip test function to TestGzipHandler
|
2015-06-07 01:27:36 +01:00 |
|
Abiola Ibrahim
|
c9233d7446
|
Gzip: Added compression level, extension and path filters.
|
2015-06-07 01:21:54 +01:00 |
|
Zac Bergquist
|
e4b50aa814
|
Fix more lint warnings
|
2015-05-24 22:52:34 -04:00 |
|
Matthew Holt
|
995edf0566
|
Bringing in latest from master; refactoring under way
|
2015-05-04 11:02:46 -06:00 |
|
Matthew Holt
|
ca95b561dc
|
gzip: Fix Content-Length header for proxies requests (closes #38)
|
2015-05-02 09:20:39 -06:00 |
|
Matthew Holt
|
dba4dcb4a5
|
gzip strips Accept-Encoding header after using it
|
2015-04-26 22:53:47 -06:00 |
|
Matthew Holt
|
2a0cfb608d
|
Bug fix for default error handling with gzip
|
2015-04-08 23:24:59 -06:00 |
|
Matthew Holt
|
d33256f1dc
|
Refactor: Middleware chain uses Handler instead of HandlerFunc
|
2015-04-02 23:30:54 -06:00 |
|
Matthew Holt
|
8f4e7f7fdc
|
Refactored gzip middleware to return errors
|
2015-03-28 16:47:41 -06:00 |
|
Matthew Holt
|
35225fe2d3
|
Docs and comments, la la
|
2015-03-20 18:11:54 -06:00 |
|
Matthew Holt
|
ae2a2d5b00
|
Godoc for middleware packages and server package
|
2015-01-29 23:52:18 -07:00 |
|
Matthew Holt
|
dcc67863dc
|
Experimenting to make middleware more independent
|
2015-01-29 22:46:09 -07:00 |
|
Matthew Holt
|
80ef5d761c
|
Moved gzip middleware into its own package
Trying a different format where the middleware is a type that satisfies http.Handler
|
2015-01-29 22:04:18 -07:00 |
|