Merge branch 'master' into 3.0.0-releng

This commit is contained in:
Joris Vink 2018-07-18 16:25:49 +02:00
commit 67e4c8e6ba

View File

@ -1455,7 +1455,7 @@ http_request_new(struct connection *c, const char *host,
}
if (!(hdlr->methods & m)) {
http_error_response(c, 400);
http_error_response(c, HTTP_STATUS_METHOD_NOT_ALLOWED);
return (NULL);
}