Skip to content
Browse files

Clarify what values responseType can have in Node (#2121)

It seems that `responseType: 'blob'` doesn't actually work in Node (when I tried using it, was a string, not a Blob, since Node doesn't have Blobs), so this clarifies that this option should only be used in the browser
  • Loading branch information
Tyler Breisacher authored and emilyemorehouse committed May 7, 2019
1 parent 0d4fca0 commit b7a9744518f71edad2991b48035e8cade37955a6
Showing with 2 additions and 1 deletion.
  1. +2 −1
@@ -304,7 +304,8 @@ These are the available config options for making requests. Only the `url` is re
// `responseType` indicates the type of data that the server will respond with
// options are 'arraybuffer', 'blob', 'document', 'json', 'text', 'stream'
// options are: 'arraybuffer', 'document', 'json', 'text', 'stream'
// browser only: 'blob'
responseType: 'json', // default
// `responseEncoding` indicates encoding to use for decoding responses

0 comments on commit b7a9744

Please sign in to comment.
You can’t perform that action at this time.