Skip to content

Commit

Permalink
Update README for custom stream behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
wxt2005 committed Mar 27, 2018
1 parent a3e191d commit 6dd8624
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Readme.md
Expand Up @@ -227,6 +227,8 @@ fetch('http://example.com', { method: 'POST', body: form })
## Notes

- ```getLengthSync()``` method DOESN'T calculate length for streams, use ```knownLength``` options as workaround.
- ```getLength(cb)``` will send an error as first parameter of callback if stream length cannot be calculated (e.g. send in custom streams w/o using ```knownLength```).
- ```sbumit``` will not add `content-length` if form length is unknown or not calculable.
- Starting version `2.x` FormData has dropped support for `node@0.10.x`.

## License
Expand Down

0 comments on commit 6dd8624

Please sign in to comment.