in case when content is not compressed
This commit is contained in:
@@ -39,7 +39,7 @@ func DecompressData(input []byte) ([]byte, error) {
|
||||
if IsZstdContent(input) {
|
||||
return unzstdData(input)
|
||||
}
|
||||
return nil, fmt.Errorf("unsupported compression")
|
||||
return input, fmt.Errorf("unsupported compression")
|
||||
}
|
||||
|
||||
func ungzipData(input []byte) ([]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user