whole_func_string: function request(snek) {
    snek.options.body = snek.options.data;
    const type = snek.options.responseType === 'arraybuffer' ? 'arrayBuffer' : 'text';
    return window.fetch(snek.options.url, snek.options)
      .then((r) => r[type]().then((raw) => {
        const headers = {};
        for (const [k, v] of r.headers.entries()) {
          headers[k.toLowerCase()] = v;
        }
        return {
          raw,
          headers,
          statusCode: r.status,
          statusText: r.statusText,
        };
      }));
  }
func_code_string: function request(snek) {
    snek.options.body = snek.options.data;
    const type = snek.options.responseType === 'arraybuffer' ? 'arrayBuffer' : 'text';
    return window.fetch(snek.options.url, snek.options)
      .then((r) => r[type]().then((raw) => {
        const headers = {};
        for (const [k, v] of r.headers.entries()) {
          headers[k.toLowerCase()] = v;
        }
        return {
          raw,
          headers,
          statusCode: r.status,
          statusText: r.statusText,
        };
      }));
  }
func_documentation_string: /* eslint-env browser