docs: function getResponseContent(response, dataType) {
      const { type, status, ok } = response;
  
      // Handling errors
      if (type === 'opaque') {
          console.error('You tried to make a Cross Domain Request with no-cors options');
          return Promise.reject({ status: status, globalErrors: ['error.noCorsOptsOnCors'] });
      }
  
      if (type === 'error') {
          console.error('An unknown network issue has happened');
          return Promise.reject({ status: status, globalErrors: ['error.unknownNetworkIssue'] });
      }
  
      if (!ok && dataType === 'json') {
          return response.json().catch(err => Promise.reject({ globalErrors: [err] })).then(data => Promise.reject({ status, ...data }));
      }
  
      if (!ok) {
          return response.text().then(text => Promise.reject({ status, globalErrors: [text] }));
      }
  
      // Handling success
      if (ok && status === '204') {
          return Promise.resolve(null);
      }
      return ['arrayBuffer', 'blob', 'formData', 'json'].includes(dataType) ? response[dataType]().catch(err => Promise.reject({ globalErrors: [err] })) : response.text();
  }