_joinDirectoryName(name) {
	    const newPath = path.join(this.uploadDir, name);

	    // prevent directory traversal attacks
	    if (!newPath.startsWith(this.uploadDir)) {
	      return path.join(this.uploadDir, this.options.defaultInvalidName);
	    }

	    return newPath;
	  }
Set header related properties:

  - `.type` the content type without params

A response of "Content-Type: text/plain; charset=utf-8"
will provide you with a `.type` of "text/plain".

@param {Object} header
@api private