projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use a better error code for unsupported expect headers
[project/uhttpd.git]
/
client.c
diff --git
a/client.c
b/client.c
index
8604034
..
4d8b17b
100644
(file)
--- 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, 4
00, "Bad Request
");
+ uh_header_error(cl, 4
12, "Precondition Failed
");
return;
}
}