text: export function status(response) {
      if (response.status >= 200 && response.status < 300) {
          return Promise.resolve(response)
      } else {
          return Promise.reject(new Error(response.status))
      }
  }
  
  export function json(response) {
      return response.json()
  }