message: style(streaming): minor
diff: @@ -61,6 +61,7 @@ module.exports = ( app ) => {
  // helper func to flush the gzip buffer
  const writeBuffer = ( ) => {
  + console.log( `writing buff ${currentChunkSize}` )
  if ( simpleText ) {
  gzip.write( chunk )
  } else {
  @@ -79,7 +80,6 @@ module.exports = ( app ) => {
  } else {
  chunk.push( objString + ',' )
  }
  -
  writeBuffer( )
  dbStream.on( 'data', row => {
  @@ -103,10 +103,20 @@ module.exports = ( app ) => {
  if ( currentChunkSize !== 0 ) {
  writeBuffer( )
  if ( !simpleText ) gzip.write( ']' )
  - gzip.end( )
  }
  + gzip.end( )
  + console.log( 'written end' )
  } )
  gzip.pipe( res )
  } )
  +
  + app.get( '/objects/:streamId/:objectId/single', async ( req, res ) => {
  +
  + // TODO: authN & authZ checks
  +
  + let obj = await getObject( req.params.objectId )
  +
  + res.send( obj )
  + } )
  }
  \ No newline at end of file
  