decompress

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecompressBody

func DecompressBody(header http.Header, r *bytes.Buffer) ([]byte, error)

DecompressBody decompresses the body according to the content encoding. If no content encoding is specified, the body is returned as is.

func TryDecompressBody

func TryDecompressBody(header http.Header, r *bytes.Buffer) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL