mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
Merge branch 'master' into 3.0.0-releng
This commit is contained in:
commit
67e4c8e6ba
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user