matthew-andrews / isomorphic-fetch

Isomorphic WHATWG Fetch API, for Node & Browserify
MIT License
6.95k stars 289 forks source link

is it response.blob() implemented? #81

Closed sibelius closed 8 years ago

sibelius commented 8 years ago

I'm trying to fetch an image but:

fetch('http://example.com/image.jpg').then(response => response.blob())

I'm getting response.blob is undefined

matthew-andrews commented 8 years ago

This library is just a very very tiny wrapper around node-fetch. I believe there's a thread over there that talks about this:- https://github.com/bitinn/node-fetch/issues/78.