# Functions
DecodeLatin1 - decodes Latin1 string from the reader This method is useful for editing response bodies when you don't want to handle different encodings.
EncodeLatin1 - encodes the string as a byte array using Latin1.
NewErrorResponse creates a new HTTP response with status code 502 Bad Gateway "Warning" header is populated with the error details https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning.
NewResponse builds a new HTTP response.
ReadDecompressedBody reads full response body and decompresses it if necessary.