itinance / react-native-fs

Native filesystem access for react-native
MIT License
4.97k stars 986 forks source link

Fix undefined ContentLenght and support BinaryStreamOnly in Windows #1198

Open k1mmm opened 1 year ago

k1mmm commented 1 year ago

I've seen there's on going work to rework the windows module, but untill then I've fixed two things to get the current Windows module working

  1. Add a ContentLength check to avoid undefined error
  2. Allow raw binary upload (S3 signed urls wants raw binary data, not multipart/form-data)