"total processes: %d\n",
status->accepted_conn, fpm_status_pool, status->pm == PM_STYLE_STATIC ? "static" : "dynamic", status->idle, status->active, status->total);
- spprintf(content_type, 0, "text/plain");
+ spprintf(content_type, 0, "Content-Type: text/plain");
}
/* }}} */
"</table>",
status->accepted_conn, fpm_status_pool, status->pm == PM_STYLE_STATIC ? "static" : "dynamic", status->idle, status->active, status->total);
- spprintf(content_type, 0, "text/html");
+ spprintf(content_type, 0, "Content-Type: text/html");
}
/* }}} */
"}",
status->accepted_conn, fpm_status_pool, status->pm == PM_STYLE_STATIC ? "static" : "dynamic", status->idle, status->active, status->total);
- spprintf(content_type, 0, "application/jsonrequest");
+ spprintf(content_type, 0, "Content-Type: application/json");
}
/* }}} */