AJAX works if chrome dev tools open but not if chrome web tools closed?
问题 I'm loading a json file via ajax. If Chrome dev tools is open, everything functions perfectly. If Chrome dev tools is closed it fails. Thankfully dev tools still keeps doing it's thing even when closed so I can still see the exception I get: Failed to load resource: the server responded with a status of 412 (Precondition Failed) http://localhost/experiments/escape/maps/test.json Why would there be a precondition on whether dev tools is open? Also, it seems unlikely that opening and closing