define(["apphost"],function(appHost){"use strict";var addRedirectPrevention=!appHost.supports("multiserver");return{load:function(url,req,load,config){url.includes("://")||(url=config.baseUrl+url),config.urlArgs&&(url+=config.urlArgs(url,url)),addRedirectPrevention&&(url.includes("?")?url+="&":url+="?",url+="r=0");var xhr=new XMLHttpRequest;xhr.open("GET",url,!0),xhr.onload=function(e){load(this.response)},xhr.send()},normalize:function(name,normalize){return normalize(name)}}});