
var framework_this = load.core('!this');
var app_this = load.core('this');


if(app_this.__framework){
    //表示没有定义核心扩展
    app_core = null; 
}



/**
 * this本地对象
 */
module.exports = function(request, response){

    this.request = request;
    this.response = response;
     
    /**
     * 框架核心功能
     */
    for(var k in framework_this){
        //log(k);
        this[k] = framework_this[k];
    }


    /**
     * 添加用户扩展核心功能
     */
    if(app_this){
        for(var k in app_this){
            //log(k);
            this[k] = app_this[k];
        }
    }



};


@@ -208,16 +208,111 @@
 onse)%7B%0A%0A
+    /**%0A     * %E6%9B%B4%E6%96%B0%E5%AF%B9%E8%B1%A1%EF%BC%81%0A     */%0A    this.__init = function(request, response)%7B%0A        //%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%0A    
     this
@@ -331,24 +331,28 @@
 equest;%0A    
+   
+ 
 this.respons
@@ -365,16 +365,262 @@
 sponse;%0A
+        //cookie%E6%95%B0%E7%BB%84%0A        this.cookieArr = %5B%5D;%0A        //%E6%89%A7%E8%A1%8C%E6%89%A9%E5%B1%95%E7%9A%84 this %E5%AF%B9%E8%B1%A1%E6%95%B0%E6%8D%AE%E6%9B%B4%E6%96%B0%0A        if(this._init)%7B%0A            this._init(request, response);%0A        %7D%0A    %7D%0A%0A    // %E6%89%A7%E8%A1%8C%E6%9B%B4%E6%96%B0%0A    if(request && response)%7B%0A        this.init(request, response);%0A    %7D%0A%0A
      %0A  

Update callthis.js