Browse Source

Merge branch 'master' of github.com:wkh237/react-native-fetch-blob

Ben Hsieh 8 years ago
parent
commit
b2661d8fd1
2 changed files with 4 additions and 4 deletions
  1. 4
    4
      README.md
  2. BIN
      img/RNFB-HTTP-flow.png

+ 4
- 4
README.md View File

@@ -1,6 +1,6 @@
1 1
 # react-native-fetch-blob [![release](https://img.shields.io/github/release/wkh237/react-native-fetch-blob.svg?maxAge=86400&style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) [![npm](https://img.shields.io/npm/v/react-native-fetch-blob.svg?style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) ![](https://img.shields.io/badge/PR-Welcome-brightgreen.svg?style=flat-square) [![npm](https://img.shields.io/npm/l/react-native-fetch-blob.svg?maxAge=2592000&style=flat-square)]() 
2 2
 
3
-A project committed to make file acess and data transfer easier, effiecient for React Native developers. 
3
+A project committed to make file acess and data transfer easier, effiecient for React Native developers.
4 4
 
5 5
 ## Features
6 6
 - Transfer data directly from/to storage without BASE64 bridging
@@ -150,7 +150,7 @@ To sum up :
150 150
 - To send binary data, you have two choices, use BASE64 encoded string or a file path which points to a file contains the body. The `Content-Type` header does not matters.
151 151
  - The body is a BASE64 encoded string, the `Content-Type` header filed must containing substring`;BASE64` or `application/octet`  
152 152
  - The body is a path point to a file, it must be a string starts with `RNFetchBlob-file://`, which can simply done by `RNFetchBlob.wrap(PATH_TO_THE_FILE)`
153
-- To send the body as-is, set a `Content-Type` header not containing `;BASE64` or `application/octet`. 
153
+- To send the body as-is, set a `Content-Type` header not containing `;BASE64` or `application/octet`.
154 154
 
155 155
 #### Download example : Fetch files that needs authorization token
156 156
 
@@ -645,7 +645,7 @@ RNFetchBlob.config({
645 645
 
646 646
 ### Web API Polyfills
647 647
 
648
-After `0.8.0` we've made some [Web API polyfills](https://github.com/wkh237/react-native-fetch-blob/wiki/Web-API-Polyfills-(work-in-progress)) that makes some browser-based library available in RN. 
648
+After `0.8.0` we've made some [Web API polyfills](https://github.com/wkh237/react-native-fetch-blob/wiki/Web-API-Polyfills-(work-in-progress)) that makes some browser-based library available in RN.
649 649
 
650 650
 - Blob
651 651
 - XMLHttpRequest (Use our implementation if you're going to use it with Blob)
@@ -668,7 +668,7 @@ Due to the [lack of typed array implementation in JavascriptCore, and limitation
668 668
 
669 669
 **Concate and Replacing Files**
670 670
 
671
-If you're going to concatenate files, you don't have to read the data to JS context anymore ! In `0.8.0` we introduced new encoding `uri` for writeFile and appendFile API. Which make it possible to done the whole process in native. 
671
+If you're going to concatenate files, you don't have to read the data to JS context anymore ! In `0.8.0` we introduced new encoding `uri` for writeFile and appendFile API. Which make it possible to done the whole process in native.
672 672
 
673 673
 <img src="img/performance_f2f.png" style="width : 100%"/>
674 674
 

BIN
img/RNFB-HTTP-flow.png View File