This commit is contained in:
Chris Lu
2020-11-26 11:22:30 -08:00
parent effa00ed08
commit 0da7ecfd29
6 changed files with 32 additions and 33 deletions

View File

@@ -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)