docs: function createRequestWrapper(req) {
          var status,
              statusText,
              responseText;
          try {
              status = req.status;
              statusText = req.statusText;
              responseText = req.responseText;
          } catch (e) {
              status = 0;
              statusText = '';
              responseText = null;
          }
          return {
              status: status,
              statusText: statusText,
              responseText: responseText,
              rawRequest: req
          };
      }