ee-formdata-reader
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -170,2 +170,5 @@ | ||
} | ||
else { | ||
this._storeValue('undefined', part.data); | ||
} | ||
} | ||
@@ -172,0 +175,0 @@ }.bind( this ) ); |
{ | ||
"name" : "ee-formdata-reader" | ||
, "description" : "reads formdata from requests" | ||
, "version" : "0.1.6" | ||
, "version" : "0.1.7" | ||
, "homepage" : "https://github.com/eventEmitter/ee-formdata-reader" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
@@ -30,3 +30,3 @@ # ee-formdata-reader | ||
// storage solutions between mutliple machines. defaults to | ||
// «ee-formdata-reader». | ||
// an identifier provided by the «ee-machine-id» package | ||
}); | ||
@@ -33,0 +33,0 @@ |
@@ -83,2 +83,15 @@ | ||
}); | ||
it('Should be able to decode post message 3', function(done){ | ||
var reader = new FormdataReader({ | ||
request: createRequest('post3.mime', 'multipart/form-data; boundary=--------------------------673022500147059248960166') | ||
}); | ||
reader.on('end', function(){ | ||
var form = reader.getForm(); | ||
assert.equal('fb93818d01553e9fead6873b780580aefb93818d01553e9fead6873b780580aec239dddc9c7a19eef9af0052da451a8ac239dddc9c7a19eef9af0052da451a8a', calculateMessageHash(form), 'message hash is different!') | ||
done(); | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14098
11
207