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

Refactor decompression stream creation to remove code duplication #564

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Phillip9587
Copy link
Contributor

  • Modified the contentstream function to handle the 'identity' encoding directly by setting the length and returning the request object.
  • Created a new createDecompressionStream function that returns the appropriate decompression stream based on the encoding.
  • Removes code duplication

@Phillip9587 Phillip9587 force-pushed the contentstream-switch-default branch from 34b8c7d to 0aace96 Compare December 6, 2024 14:20
@Phillip9587 Phillip9587 marked this pull request as ready for review December 6, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant