Re-uploading a file with AJAX after it was changed causes net::ERR_UPLOAD_FILE_CHANGED in Chrome
问题 I have a simple HTML form that sends an selected file via AJAX to an API endpoint. If I do the following steps: Press the Upload button and make an POST request to upload the file Change the selected file on the filesystem (in a text editor), without picking it again in the file picker. Press the Upload button again, and make as second POST request Chrome will fail the second request with an error: net::ERR_UPLOAD_FILE_CHANGED . Note that if you change the file before the initial upload, the