There is no response to the Safari ajax submission form?

both projects encountered an unresponsive Safari ajax submission.

there are text and file fields in the form. The file field is used to upload the cover image.

there is no problem when it is created. When I modify it, I don"t want to change the cover image. I only modify the content. As a result, there is no response after the Safari is submitted.

has been spinning around until the last timeout indicates that the Failed to load resource: network connection has been interrupted.

clipboard.png

the submission is as follows:

------WebKitFormBoundaryDzyYu0NMFtWL5EDU
Content-Disposition: form-data; name="title"


------WebKitFormBoundaryDzyYu0NMFtWL5EDU
Content-Disposition: form-data; name="image"; filename=""
Content-Type: application/octet-stream


------WebKitFormBoundaryDzyYu0NMFtWL5EDU
Content-Disposition: form-data; name="description"

------WebKitFormBoundaryDzyYu0NMFtWL5EDU Content-Disposition: form-data; name="on_sale" 0 ------WebKitFormBoundaryDzyYu0NMFtWL5EDU Content-Disposition: form-data; name="_token" Iw2xwMKWr2rIZ696MJiVwE5UvlMtN6jYvn9JepLS ------WebKitFormBoundaryDzyYu0NMFtWL5EDU Content-Disposition: form-data; name="_method" PUT ------WebKitFormBoundaryDzyYu0NMFtWL5EDU Content-Disposition: form-data; name="_previous_" http://test.com/admin/products ------WebKitFormBoundaryDzyYu0NMFtWL5EDU--

the same request in Chrome Firefox is good.

this is suspected to be the problem with the file field, because if you reselect the cover image at this time, you can edit and submit it.

Jun.17,2021
Menu