|
@ -55,7 +55,6 @@ func GzipData(input []byte) ([]byte, error) { |
|
|
return buf.Bytes(), nil |
|
|
return buf.Bytes(), nil |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func DecompressData(input []byte) ([]byte, error) { |
|
|
func DecompressData(input []byte) ([]byte, error) { |
|
|
if IsGzippedContent(input) { |
|
|
if IsGzippedContent(input) { |
|
|
return ungzipData(input) |
|
|
return ungzipData(input) |
|
|