projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c92b8cb
)
use a better error code for unsupported expect headers
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jan 2013 00:03:17 +0000
(
01:03
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jan 2013 00:03:17 +0000
(
01:03
+0100)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 860403464ccd9fece961230ac3b192a662bebc99..4d8b17b0d1b9279040daefc1a5581e8a047b1661 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;
}
}