Skip to content
#

router

Here are 2,607 public repositories matching this topic...

KernelDeimos
KernelDeimos commented Nov 16, 2019

Description

Using the fetch API from WHATWG in Google Chrome, an image upload does not have Content-Type multipart/form-data. Instead, the content type is set to the MIME type (ex: image/jpeg) with a boundary parameter. Setting Content-Type explicitly to multipart/form-data should result in an error (and it does).

How to reproduce

Follow an existing image upload example from

vector

Improve this page

Add a description, image, and links to the router topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the router topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.