projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mimetypes: add json and jsonp (distinct from js)
[project/uhttpd.git]
/
client.c
diff --git
a/client.c
b/client.c
index
9b8fb07
..
0d7029b
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-48,6
+48,8
@@
void uh_http_header(struct client *cl, int code, const char *summary)
const char *enc = "Transfer-Encoding: chunked\r\n";
const char *conn;
+ cl->http_code = code;
+
if (!uh_use_chunked(cl))
enc = "";