add lots of error checking by GThomas
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
/*
|
||||
* Default more not to gzip since gzip can be done on client side.
|
||||
*/
|
||||
*/
|
||||
func IsGzippable(ext, mtype string) bool {
|
||||
if strings.HasPrefix(mtype, "text/") {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user