![]() This is originally the format of the UNIX gzip program. gzipĪ format using the Lempel-Ziv coding (LZ77), with a 32-bit CRC. Using the zlib structure (defined in RFC 1950), with the deflate compression algorithm (defined in RFC 1951). Like the compress program, which has disappeared from most UNIX distributions, this content-encoding is used by almost no browsers today, partly because of a patent issue (which expired in 2003). The value name was taken from the UNIX compress program, which implemented this algorithm. It is followed by the trailer, which consists of a (possibly empty) sequence of header fields.Ī format using the Lempel-Ziv-Welch (LZW) algorithm. The terminating chunk is a regular chunk, with the exception that its length is zero. The Content-Length header is omitted in this case and at the beginning of each chunk you need to add the length of the current chunk in hexadecimal format, followed by ' \r\n' and then the chunk itself, followed by another ' \r\n'.
0 Comments
Leave a Reply. |