message: Updated Regex for PDF content
diff: @@ -345,7 +345,10 @@ Object.assign(Application.prototype, {
  switch(contentType){
  case 'application/pdf':
  //Extract FileName Details
  - var fileMatches = /filename="([^"]+(INV-\d+)\.pdf)"/i.exec(res.headers['content-disposition']);
  + //OLD REGEX
  + //var fileMatches = /filename="([^"]+(INV-\d+)\.pdf)"/i.exec(res.headers['content-disposition']);
  + // IMPROVED REGEX
  + var fileMatches = /filename="([^"]+(.+)\.pdf)"/i.exec(res.headers['content-disposition']);
  //Extract Object Type - TODO: Is there not a better way than this?
  var objectMatches = /https:\/\/api\.xero\.com\/api\.xro\/[\d\.]+\/([^\/]+)/i.exec(res.responseUrl);
  var returnObject = {};
  