private static boolean hasContent(HttpMethod method) {
        switch (method) {
            case OPTIONS:
            case GET:
            case HEAD:
            case DELETE:
            case TRACE:
            case CONNECT:
                return false;
            case POST:
            case PUT:
            case PATCH:
                return true;
            default:
                return false;
        }
    }
Makes sure an empty HTTP/1 request is sent with or without the {@code content-length} header
for all HTTP methods.
core/src/test/java/com/linecorp/armeria/client/Http1EmptyRequestTest.java