Skip to content
Myr

Fix binary uploads.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Matt Colyer · committed by Matt Colyer · parent 8b6c4d3 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/express/core.js+1 added-1 removed
236 unmodified lines
237 part.buf = ''238 })239 .addListener('body', function(chunk) {240 if (stream.part.fileStream)241 stream.part.fileStream.write(chunk)241 stream.part.fileStream.write(chunk, 'binary')242 else243 stream.part.buf += chunk244 })245 .addListener('partEnd', function(part) {
82 unmodified lines