Skip to content
zs1621 edited this page Sep 2, 2013 · 2 revisions

Welcome to the zsblog wiki! lib->patch.js

headerSent

res.__defineGetter__('headerSent', function(){
     return this._header;
})

这里的this._header当 数据发出后 才会有将header内容赋值给 this._header!所以headerSent如它定义的为header是否发送的标志(flag)

Clone this wiki locally