GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Propagate 'response' event through file.createReadStream() · Issue #606 · googleapis/google-cloud-node Closed Description_Background_: _Request_: Currently, in the case of a 404, the stream returned from _Details_: diff --git a/lib/storage/file.js b/lib/storage/file.js index d64aa09..137baba 100644 --- a/lib/storage/file.js +++ b/lib/storage/file.js @@ -464,6 +464,8 @@ File.prototype.createReadStream = function(options) { request(authorizedReqOpts) .on('error', done) + .on('response', throughStream.emit.bind(throughStream, 'response')) + .on('data', function(chunk) { if (crc32c) { localCrcHash = crc.calculate(chunk, localCrcHash); Don't hesitate to let me know if you have any thoughts or questions, and thanks for all of your hard work on this library! Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |