mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-22 00:05:57 -05:00
most of the code was moved to the transcoder layer. The `compression_threshold_size` option has been removed. The `:compression/brotli` plugin becomes only ´:brotli`, and depends on the new transcoding APIs. options to skip compression and decompression were added.
12 lines
255 B
Plaintext
12 lines
255 B
Plaintext
module HTTPX
|
|
module Transcoder
|
|
module Deflate
|
|
def self?.encode: (_Encoder body) -> Deflater
|
|
def self?.decode: (Response body, ?bytesize: Integer) -> GZIP::Inflater
|
|
|
|
class Deflater < Transcoder::Deflater
|
|
end
|
|
end
|
|
end
|
|
end
|