Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36910
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: fetch with blobs |
| Date | 2019-06-14 13:06 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <1857014.oMNUckLgyt@PointedEars.de> (permalink) |
| References | <WLednVoOy_y7jJ7AnZ2dnUU7-U3NnZ2d@westnet.com.au> <7IadnQlzfY0rrZ7AnZ2dnUU7-c3NnZ2d@westnet.com.au> |
Andrew Poulos wrote:
> On 14/06/2019 1:14 pm, Andrew Poulos wrote:
>> When successful, this
>>
>> fetch(imageSrc, {
>> headers: headesr,
>> })
>> .then(function(res) {
>> return res.blob();
>> })
>> .then(function(blob) {
>> console.log(blob); // gives blob [object Blob] in Edge
>> // Blob {...} in Chrome
>
> I changed it to this
> let b = blob;
> upload(b);
>
> and Edge's console says it's now [object Blob] but interacting with the
> blob makes it seem like the blob is null/empty.
What is that supposed to mean?
RTFM.
--
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
fetch with blobs Andrew Poulos <ap_prog@hotmail.com> - 2019-06-14 13:14 +1000
Re: fetch with blobs Andrew Poulos <ap_prog@hotmail.com> - 2019-06-14 15:29 +1000
Re: fetch with blobs Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-06-14 13:06 +0200
Re: fetch with blobs JJ <jj4public@vfemail.net> - 2019-06-14 18:56 +0700
Re: fetch with blobs Julio Di Egidio <julio@diegidio.name> - 2019-06-14 05:54 -0700
Re: fetch with blobs Andrew Poulos <ap_prog@hotmail.com> - 2019-06-15 16:40 +1000
Re: fetch with blobs JJ <jj4public@vfemail.net> - 2019-06-15 14:16 +0700
Re: fetch with blobs Andrew Poulos <ap_prog@hotmail.com> - 2019-06-15 19:02 +1000
Re: fetch with blobs Andrew Poulos <ap_prog@hotmail.com> - 2019-06-15 19:31 +1000
Re: fetch with blobs JJ <jj4public@vfemail.net> - 2019-06-16 15:28 +0700
Re: fetch with blobs Julio Di Egidio <julio@diegidio.name> - 2019-06-16 03:46 -0700
Re: fetch with blobs Julio Di Egidio <julio@diegidio.name> - 2019-06-15 03:51 -0700
Re: fetch with blobs Andrew Poulos <ap_prog@hotmail.com> - 2019-06-16 08:21 +1000
Re: fetch with blobs JJ <jj4public@vfemail.net> - 2019-06-15 14:14 +0700
Re: fetch with blobs Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-06-15 12:55 +0200
Re: fetch with blobs Julio Di Egidio <julio@diegidio.name> - 2019-06-15 04:02 -0700
csiph-web