gql_eval_post_hook(agooReq req) {
    struct _agooErr	err = AGOO_ERR_INIT;
    gqlValue		result;
    const char		*s;
    int			len;
    int			indent = 0;

    if (NULL != (s = agoo_req_query_value(req, indent_str, sizeof(indent_str) - 1, &len))) {
	indent = (int)strtol(s, NULL, 10);
    }
    if (NULL == (result = eval_post(&err, req)) && AGOO_ERR_OK != err.code) {
	err_resp(req->res, &err, 400);
    } else if (NULL == result) {
	value_resp(req, result, 200, indent);
    } else {
	value_resp(req, result, 200, indent);
    }
}
gql_eval_post_hook(agooReq req) {
    struct _agooErr	err = AGOO_ERR_INIT;
    gqlValue		result;
    const char		*s;
    int			len;
    int			indent = 0;

    if (NULL != (s = agoo_req_query_value(req, indent_str, sizeof(indent_str) - 1, &len))) {
	indent = (int)strtol(s, NULL, 10);
    }
    if (NULL == (result = eval_post(&err, req)) && AGOO_ERR_OK != err.code) {
	err_resp(req->res, &err, 400);
    } else if (NULL == result) {
	value_resp(req, result, 200, indent);
    } else {
	value_resp(req, result, 200, indent);
    }
}