shopware / k6-shopware

13 stars 3 forks source link

fix redirects after a POST #6

Closed vrobert78 closed 3 months ago

vrobert78 commented 3 months ago

Before this fix redirects after a POST were sending header "Content-Type": "multipart/form-data; boundary=" + formData.boundary , which leads to 400 Bad request errors.

With this fix, we no longer send this Content-Type header.

shyim commented 3 months ago

Thanks! I just vendored the library (downloaded to repo). In my experience there is no caching and it downloads several times the JS file otherwise.