Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Firefox cannot parse multipart/form-data

  • Akukho zimpendulo
  • 1 inale nkinga
  • 11 views
more options

Hello,

I am writing a server that answers to a POST request with a multipart/form-data message. On the client in Javascript I then want to access the form-data via the usual response.formData() function.

Alas I seem to make something wrong when creating the mulitpart message, Firefox always complains with "Cannot parse FormData".

Is there a way to get Firefox to be more verbose and log the actual problem why it cannot parse the response? That way I could try to fix my server.

Hello, I am writing a server that answers to a POST request with a multipart/form-data message. On the client in Javascript I then want to access the form-data via the usual response.formData() function. Alas I seem to make something wrong when creating the mulitpart message, Firefox always complains with "Cannot parse FormData". Is there a way to get Firefox to be more verbose and log the actual problem why it cannot parse the response? That way I could try to fix my server.