alpha0010 / react-native-file-access

Filesystem access for React Native
MIT License
297 stars 18 forks source link

Support to uncompress data based on Content-Encoding #85

Open EduFrazao opened 3 weeks ago

EduFrazao commented 3 weeks 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 5 days ago

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