summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}