public static HttpRequest createTestRequest(String uri, Method method) {
        return createTestRequest(uri, method, null);
    }
Only for simpler unit testing.

@param uri the complete URI string
@param method POST, GET, etc
@return a valid HTTP request
container-core/src/main/java/com/yahoo/container/jdisc/HttpRequest.java