0
Chrome is automatically sending get request without any affect on page
I wrote a program using Python Flask by which I can upload, download and delete files from server. But whenever I open it in chrome It is automatically sending get request to specific url. This url is used to delete file. URL looks like this : http://127.0.0.1/delete/filename Chrome is only sending get request to this url if it has ".mp4" file extension. But page is not even refreshing or changing. But mine app is working fine in FireFox HELP! This is very weird. This is source code:: https://github.com/ShailMurtaza/Upload-Download-Files-FlaskApp
1 ответ
0
Martín Stanicio
There is button in mine webpage.
Every file has its own delete button. When I will press this delete button correspondence file will delete from server. This delete button send a get request which contains filename.
But problem is that, chrome is sending get request without pressing delete button and mine files are deleting automatically. This happened only with mp4 files