code: public static void setDisableChunking(Stub stub, boolean disable) {
          stub._setProperty(DISABLE_CHUNKING,
                            (disable)
                            ? Boolean.TRUE
                            : Boolean.FALSE);
          Hashtable headers = getRequestHeaders(stub);
          headers.put(HTTPConstants.HEADER_TRANSFER_ENCODING_CHUNKED,
                      (disable) ? "false" : "true");
      }
docs: Sets on option on the stub to use to disable chunking
  (only if used with HTTP 1.1).
  
  @param stub The stub to set the property on
  @param disable If true, chunking will be disabled. Otherwise chunking
  will be performed (if HTTP 1.1 will be used).