X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuhttpd.git;a=blobdiff_plain;f=client.c;h=4d8b17b0d1b9279040daefc1a5581e8a047b1661;hp=860403464ccd9fece961230ac3b192a662bebc99;hb=0a6fa62baa6d21455485bc6669f4e5f3b6608487;hpb=c92b8cb32d10559791e7bd4937ecc5f49a45ba9d diff --git a/client.c b/client.c index 8604034..4d8b17b 100644 --- a/client.c +++ b/client.c @@ -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; } }