Eliminate includes file and include locally as required.
This commit is contained in:
1 parent
be014d0d24
commit
91286649cc
10 files changed
+46
-38
No files matched your search
+3
-3
@@ -18,12 +18,12 @@ namespace coreutils {
|
||||
if(mode == LENGTH) {
|
||||
sprintf(contentLength, "%li", content.str().length());
|
||||
ZString conlen(contentLength);
|
||||
addHeader("Content-Length", conlen);
|
||||
addHeader(IMFHeader("Content-Length", conlen));
|
||||
}
|
||||
else
|
||||
addHeader("Transfer-Encoding", "chunked");
|
||||
addHeader(IMFHeader("Transfer-Encoding", "chunked"));
|
||||
|
||||
addHeader("Server", "JETServer v0.0.1");
|
||||
addHeader(IMFHeader("Server", "JETServer v0.0.1"));
|
||||
|
||||
output(response);
|
||||
response << content.str();
|
||||
|
||||
Reference in new issue
Block a user