docs: private HttpUriRequest makeRequest(URI uri, final String requestBody)
      {
          HttpUriRequest request;
          if (m_method == HttpMethod.GET) {
              request = new HttpGet(uri + "?" + requestBody);
          } else if (m_method == HttpMethod.POST) {
              if (m_isHdfs) {
                  try {
                      uri = HDFSUtils.opAdder(uri, "APPEND");
                  } catch (IllegalArgumentException e) {
                      rateLimitedLogError(m_logger, "Invalid URI %s %s", uri.toString(), Throwables.getStackTraceAsString(e));
                      return null;
                  }
              }
              final HttpPost post = new HttpPost(uri);
              post.setEntity(new StringEntity(requestBody, m_contentType));
              request = post;
  
          } else if (m_method == HttpMethod.PUT) {
              final HttpPut put = new HttpPut(uri);
              put.setEntity(new StringEntity(requestBody, m_contentType));
              request = put;
          } else {
              // Should never reach here
              request = null;
          }
  
          if (m_isHdfs && request != null) {
              request.setHeader("Expect", "100-continue");
          }
  
          return request;
      }