My request is a multipart/form-data
This is how I read the request data:
var data = "";
this.request.on( "data" , function( chunk ){
data += chunk;
} );
this.request.on( "end" , function(){
this.request.body = this.parseRequest( data );
this.emit( "end" );
}.bind( this ) );
Now, the Content-Length
of the request is 25,981, but the length of data "on end" is 25,142.
Can anyone explain please?