What sort of checks do you have in mind here? I'm pretty sure the browser's XHR will do some sanity checks on the URL...