Adds support to the RESPONSE_PROTOCOL variable

This commit is contained in:
Felipe Zimmerle
2016-06-21 09:51:50 -03:00
parent b8bd0c5960
commit df1f7c5e08
6 changed files with 53 additions and 1 deletions

View File

@@ -169,6 +169,9 @@ RegressionTest *RegressionTest::from_yajl_node(const yajl_val &node) {
if (strcmp(key2, "body") == 0) {
u->response_body = yajl_array_to_str(val2);
}
if (strcmp(key2, "protocol") == 0) {
u->response_protocol = YAJL_GET_STRING(val2);
}
}
}
if (strcmp(key, "expected") == 0) {