code: def get_cgi_fieldstorage_from_wsgi_env(
          env: Dict[str, str],
          include_query_string: bool = True) -> cgi.FieldStorage:
      
      # http://stackoverflow.com/questions/530526/accessing-post-data-from-wsgi
      post_env = env.copy()
      if not include_query_string:
          post_env['QUERY_STRING'] = ''
      form = cgi.FieldStorage(
          fp=env['wsgi.input'],
          environ=post_env,
          keep_blank_values=True
      )
      return form
docs: Returns a :class:`cgi.FieldStorage` object from the WSGI environment.