code: private static boolean canResponseHaveBody(int status) {
          LOG.trace("enter HttpMethodBase.canResponseHaveBody(int)");
  
          boolean result = true;
  
          if ((status >= 100 && status <= 199) || (status == 204)
              || (status == 304)) { // NOT MODIFIED
              result = false;
          }
  
          return result;
      }
docs: Per RFC 2616 section 4.3, some response can never contain a message
  body.
  
  @param status - the HTTP status code
  
  @return <tt>true</tt> if the message may contain a body, <tt>false</tt> if it can not
  contain a message body