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

Fix/Wrap GZ File Decompression in Try-Catch Block #51

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

Conversation

ilaylow
Copy link

@ilaylow ilaylow commented Nov 8, 2023

  • During fetching of the dict.gz files, explicit decompression of .gz files takes place.
  • However, some browsers will perform auto-decompression of these files upon retrieval, thus this explicit step results in an error.
  • Wrapping this step in a try catch block helps to bypass and skip this decompression step, should it be decompressed by the browser already.

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