diff --git a/cherokee/connection.c b/cherokee/connection.c index e11c01c3f..901e938ec 100644 --- a/cherokee/connection.c +++ b/cherokee/connection.c @@ -2425,6 +2425,7 @@ cherokee_connection_check_http_method (cherokee_connection_t *conn, cherokee_con if (config_entry->handler_methods == http_options) return ret_ok; + LOG_ERROR_S (CHEROKEE_ERROR_CONNECTION_HTTP_METHOD); /* Set the error */ conn->error_code = http_method_not_allowed; diff --git a/cherokee/error_list.py b/cherokee/error_list.py index 146c6f90c..80874597a 100644 --- a/cherokee/error_list.py +++ b/cherokee/error_list.py @@ -981,6 +981,10 @@ title = "Could not get virtual server: '%s'", desc = CODING_BUG) +e('CONNECTION_HTTP_METHOD', + title = "HTTP method not allowed.", + desc = "The connection's method is not allowed by the server.") + # cherokee/ncpus.c #