projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0658164
)
* output right HTTP-Headers when whining for another citserver version
author
Wilfried Göesgens
<willi@citadel.org>
Wed, 18 Mar 2009 19:48:35 +0000
(19:48 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Wed, 18 Mar 2009 19:48:35 +0000
(19:48 +0000)
webcit/webcit.c
patch
|
blob
|
history
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index fdde5ef53de869668d7f243aefc24c420198f9d9..84ead4462da6382c33b1c276dce54377798dbb18 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-845,6
+845,8
@@
void session_loop(HashList *HTTPHeaders, StrBuf *ReqLine, StrBuf *request_method
MINIMUM_CIT_VERSION / 100,
MINIMUM_CIT_VERSION % 100
);
+ hprintf("HTTP/1.1 200 OK\r\n");
+ hprintf("Content-type: text/plain; charset=utf-8\r\n");
end_burst();
end_webcit_session();
goto SKIP_ALL_THIS_CRAP;