When a valid link of a big file is passed, if the content type is not for json the connection is terminated now, but with this impl the whole file will be downloading in the background.
Also the isURI checks only the syntax (so asdasdasd://... is valid).
I'm assuming here that if you paste any kind of uri, you intend for it to be downloaded / parsed. If this becomes an issue, we can go back to doing something similar.
Read this only If you want my comment:
When a valid link of a big file is passed, if the content type is not for json the connection is terminated now, but with this impl the whole file will be downloading in the background. Also the isURI checks only the syntax (so
asdasdasd://...
is valid).