code: function () {
          var mime = this.mime();
  
          // if there is no mime detected, there is no accurate way to render this thing
          if (!this.mime) {
              return E;
          }
  
          // we create the body string first from stream and then fallback to body
          return 'data:' + mime._sanitisedContentType + ';base64, ' + ((!_.isNil(this.stream) &&
              util.bufferOrArrayBufferToBase64(this.stream)) || (!_.isNil(this.body) && util.btoa(this.body)) || E);
      }
docs: Converts the response to a dataURI that can be used for storage or serialisation. The data URI is formed using
  the following syntax `data:<content-type>;baseg4, <base64-encoded-body>`.
  
  @returns {String}
  @todo write unit tests