code: def __init__(
      self,
      stream_fn,
      status=200,
      headers=None,
      content_type="text/plain",
  ):
      self.stream_fn = stream_fn
      self.status = status
      self.headers = headers or {}
      self.content_type = content_type
  
imports: import json
  from datasette.utils import MultiParams
  from mimetypes import guess_type
  from urllib.parse import parse_qs, urlunparse, parse_qsl
  from pathlib import Path
  from http.cookies import SimpleCookie, Morsel
  import aiofiles
  import aiofiles.os
label_desc: Use image node_id 1 to create a new AsgiStream object  with example: obj = AsgiStream(stream_fn, status, headers, content_type)