fetch_nonexistent_file.html (212B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <script> 5 6 async function fetch_status() { 7 let response = await fetch('this_file_does_not_exist.txt'); 8 return response.status; 9 } 10 11 </script> 12 </head> 13 <body> 14 </body> 15 </html>