public HttpRequest part(final String name, final String filename,
      final String contentType, final String part) throws HttpRequestException {
    try {
      startPart();
      writePartHeader(name, filename, contentType);
      output.write(part);
    } catch (IOException e) {
      throw new HttpRequestException(e);
    }
    return this;
  }
Write part of a multipart request to the request body

@param name
@param filename
@param contentType
         value of the Content-Type part header
@param part
@return this request
@throws HttpRequestException
lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java