Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Enhanced RDoc for Compression #119

Merged
merged 1 commit into from
Feb 13, 2023
Merged

[DOC] Enhanced RDoc for Compression #119

merged 1 commit into from
Feb 13, 2023

Conversation

BurdetteLamar
Copy link
Member

No description provided.

@BurdetteLamar BurdetteLamar added the documentation Improvements or additions to documentation label Feb 9, 2023
@BurdetteLamar
Copy link
Member Author

In Net::HTTPResponse#inflater:

  def inflater # :nodoc:
    return yield @socket unless Net::HTTP::HAVE_ZLIB
    return yield @socket unless @decode_content
    return yield @socket if self['content-range']
  • I think that these days ZLib is always there, so not mentioned.
  • Not clear to me how the second condition works, so not (yet) mentioned.
  • I think I got the third one right.

@peterzhu2118 peterzhu2118 merged commit ed16384 into ruby:master Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

Successfully merging this pull request may close these issues.

2 participants