see "modules.js".
"http.js" is a pseudo-module that "modules.js" requires to bootstrap the module loader. You will find the bulk of the work in the HTTP module toward the end of "modules.js". The following code augments the HTTP module so that it provides types and events consistent with the rest of the framework.
logging L48
request L52
requestText L67
requestXml L69
requestDocument L71
resolve L74
relative L82
Request L90
Request inherits from and replaces the prexisting Request defined in modules.js.
Request.init L107
Request.setOption L119
Request.openOptions L180
Request.open L194
Request.send L217
Request.isAsynchronous L262
Response L270
Request inherits from and replaces the prexisting Request defined in modules.js.
encode L294
keyLeave L326
looseExpression L333
parseLooseUrl L373