alpha0010 / react-native-file-access

Filesystem access for React Native
MIT License
313 stars 26 forks source link

Support to uncompress data based on Content-Encoding #85

Open EduFrazao opened 5 months ago

EduFrazao commented 5 months ago

Feature When downloading large files via HTTP/S, its a common pratice to compress some of them base on their compress ratio, like large JSON or other text files.

Motivation Supporting decompression of common algorithms used by http servers, like gzip or deflate will bring a more user friendly feature and with the potential of speed up decompression as it can be done while streaming the current download.

Details The only know alternative is uncompress the file after downloading it, checking their Content-Encoding.

alpha0010 commented 4 months ago

Auto transfer (de)compression should already be working transparently. Do you have more details on what is missing for your use case?