method
inflater
v2_1_10 -
Show latest stable
-
0 notes -
Class: Net::HTTPResponse
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (38)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
inflater()
private
Checks for a supported Content-Encoding header and yields an Inflate wrapper for this response’s socket when zlib is present. If the Content-Encoding is unsupported or zlib is missing the plain socket is yielded.
If a Content-Range header is present a plain socket is yielded as the bytes in the range may not be a complete deflate block.