diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-03 01:03:17 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-03 01:03:17 +0100 |
commit | 0a6fa62baa6d21455485bc6669f4e5f3b6608487 (patch) | |
tree | c96f58faa80df808cde1545d042d26b43ce591c4 /client.c | |
parent | c92b8cb32d10559791e7bd4937ecc5f49a45ba9d (diff) |
use a better error code for unsupported expect headers
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,7 @@ static void client_parse_header(struct client *cl, char *data) if (!strcasecmp(val, "100-continue")) cl->request.expect_cont = true; else { - uh_header_error(cl, 400, "Bad Request"); + uh_header_error(cl, 412, "Precondition Failed"); return; } } |