Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #36929

Re: fetch with blobs

Newsgroups comp.lang.javascript
Date 2019-06-16 03:46 -0700
References (4 earlier) <ucadncF7z6xsD5nAnZ2dnUU7-VPNnZ2d@westnet.com.au> <i79yfdhev79s.1uc7unbzu825d.dlg@40tude.net> <hP2dnRqvL-ysKZnAnZ2dnUU7-Q_NnZ2d@westnet.com.au> <VdOdnTiTJZVqJ5nAnZ2dnUU7-WfNnZ2d@westnet.com.au> <1n7ev137pyz5o$.1906hyhvxomuh$.dlg@40tude.net>
Message-ID <edc061d2-e43c-4c34-99bd-f6bca68ebebe@googlegroups.com> (permalink)
Subject Re: fetch with blobs
From Julio Di Egidio <julio@diegidio.name>

Show all headers | View raw


On Sunday, 16 June 2019 10:29:00 UTC+2, JJ  wrote:
> On Sat, 15 Jun 2019 19:31:33 +1000, Andrew Poulos wrote:
> > 
> > With
> >    "Content-Type": "application/octet-stream"
> > or with
> >    "Content-Type": "application/octet-stream",
> >    "Content-Length": blob.size
> > I get
> > 
> > -----------------------------7e319dbf0280
> > Content-Disposition: form-data; name="asset"
> > 
> > [object Blob]
> > -----------------------------7e319dbf0280--
> > 
> > returned but the PHP script doesn't recognise the blob as an input named 
> > "asset".
> > 
> > Andrew Poulos
> 
> No. I mean, Edge's might not automatically set the content type if the body
> is a form data - which should be `multipart/form-data`.
> 
> Check the HTTP request headers and compare it with Chrome's.

Please kill file this other polluting piece of shit.

*Plonk*

Julio

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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