code: def stream_bytes(data, chunk_size=default_chunk_size):
      
      stream = BytesStream(data, chunk_size=chunk_size)
  
      return stream.body(), stream.headers
docs: Gets a buffered generator for streaming binary data.
  
      Returns a buffered generator which encodes binary data as
      :mimetype:`multipart/form-data` with the corresponding headers.
  
      Parameters
      ----------
      data : bytes
          The data bytes to stream
      chunk_size : int
          The maximum size of each stream chunk
  
      Returns
      -------
          (generator, dict)