<commit_before>using global::Dockery.DockerSdk;

private void register_http_response_factory_test() {
    Test.add_func ("/Dockery/DockerSdk/Io/HttpResponseFactory/Create#NominalCase", () => {

        Soup.Message msg = new Soup.Message("HEAD", "http://lcallarec.github/dockery");
    
        msg.set_status(301);
        
        var response_headers = new Soup.MessageHeaders(Soup.MessageHeadersType.RESPONSE);
        msg.response_headers = response_headers;
        
        response_headers.append("X-Dockery-Version", "1.76");

        var body = new Soup.MessageBody();
        body.data = "This is a response body".data;
        msg.response_body = body;

        var response = Io.HttpResponseFactory.create(msg);

        assert(response.payload == "This is a response body");
        assert(response.status == 301);
        assert(response.headers.size == 1);
        assert(response.headers.has_key("X-Dockery-Version"));
        assert(response.headers.get("X-Dockery-Version") == "1.76");
    });

    Test.add_func ("/Dockery/DockerSdk/Io/HttpResponseFactory/FutureCreate#NominalCase", () => {

        Soup.Message msg = new Soup.Message("HEAD", "http://lcallarec.github/dockery");
        
        msg.set_status(301);
        
        var response_headers = new Soup.MessageHeaders(Soup.MessageHeadersType.RESPONSE);
        msg.response_headers = response_headers;
        
        response_headers.append("X-Dockery-Version", "1.76");

        var body = new Soup.MessageBody();
        body.data = "This is a response body".data;
        msg.response_body = body;

        var response = Io.HttpResponseFactory.future_create(msg, new Io.FutureResponse());

        assert(response is Io.FutureResponse);
        assert(response.payload == "This is a response body");
        assert(response.status == 301);
        assert(response.headers.size == 1);
        assert(response.headers.has_key("X-Dockery-Version"));
        assert(response.headers.get("X-Dockery-Version") == "1.76");
    });
}<commit_msg>Add log for broken travis build<commit_after>using global::Dockery.DockerSdk;

private void register_http_response_factory_test() {
    Test.add_func ("/Dockery/DockerSdk/Io/HttpResponseFactory/Create#NominalCase", () => {

        Soup.Message msg = new Soup.Message("HEAD", "http://lcallarec.github/dockery");
    
        msg.set_status(301);
        
        var response_headers = new Soup.MessageHeaders(Soup.MessageHeadersType.RESPONSE);
        msg.response_headers = response_headers;
        
        response_headers.append("X-Dockery-Version", "1.76");

        var body = new Soup.MessageBody();
        body.data = "This is a response body".data;
        msg.response_body = body;

        var response = Io.HttpResponseFactory.create(msg);

        assert(response.payload == "This is a response body");
        assert(response.status == 301);
        assert(response.headers.size == 1);
        assert(response.headers.has_key("X-Dockery-Version"));
        assert(response.headers.get("X-Dockery-Version") == "1.76");
    });

    Test.add_func ("/Dockery/DockerSdk/Io/HttpResponseFactory/FutureCreate#NominalCase", () => {

        Soup.Message msg = new Soup.Message("GET", "https://www.google.com");
        
        msg.set_status(301);
        
        var response_headers = new Soup.MessageHeaders(Soup.MessageHeadersType.RESPONSE);
        msg.response_headers = response_headers;
        
        response_headers.append("X-Dockery-Version", "1.76");

        var body = new Soup.MessageBody();
        body.data = "This is a response body".data;
        msg.response_body = body;

        var response = Io.HttpResponseFactory.future_create(msg, new Io.FutureResponse());

        assert(response is Io.FutureResponse);
        stdout.printf("RP : %s", response.payload);
        assert(response.payload == "This is a response body");
        assert(response.status == 301);
        assert(response.headers.size == 1);
        assert(response.headers.has_key("X-Dockery-Version"));
        assert(response.headers.get("X-Dockery-Version") == "1.76");
    });
}
{'fraction_non_alphanumeric': 0.13709285367039378, 'fraction_numerical': 0.012639766650461837, 'mean_word_length': 2.8820754716981134, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2266686', 'n_tokens_mistral': 1282, 'n_tokens_neox': 1210, 'n_words': 204}