javascript - Read response of failed script -


i'm trying include script including in script src

<script type="text/javascript" src="http://some-site.com/script.js"></script> 

sometimes fails 401 error. script, returned, nice read , execute here in case. i'd need read response.

i know there answer here, i'm trying without xhr, because response on xhr different (403), content (otherwise wouldn't care).


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -