Wrong type on plant result
This commit is contained in:
parent
e570b4367b
commit
097c9e160c
@ -101,7 +101,7 @@ Framework.prototype.plantResult = function()
|
||||
{
|
||||
if( !( this.result instanceof Buffer ) )
|
||||
{
|
||||
this.result = String( this.result );
|
||||
this.result = new Buffer( this.result + "" );
|
||||
}
|
||||
|
||||
this.HTTP.response.headers["Content-Length"] = this.result.length;
|
||||
|
Loading…
Reference in New Issue
Block a user