public HttpRequest contentLength(final int contentLength) {
    getConnection().setFixedLengthStreamingMode(contentLength);
    return this;
  }
Set the 'Content-Length' request header to the given value

@param contentLength
@return this request
lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java