more smartbuffer work.
This commit is contained in:
parent
2866056072
commit
a3d5a4f93f
@ -36,16 +36,4 @@ namespace coreutils {
|
||||
|
||||
}
|
||||
|
||||
std::string IMFMultipart::toString() {
|
||||
return std::string(getData(), getLength());
|
||||
}
|
||||
|
||||
int IMFMultipart::getCount() {
|
||||
return sections.size();
|
||||
}
|
||||
|
||||
ZString IMFMultipart::getSectionAt(int index) {
|
||||
return sections[index];
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -21,11 +21,11 @@ namespace coreutils {
|
||||
// addHeader(IMFHeader("Content-Length", conlen));
|
||||
}
|
||||
else
|
||||
addHeader(IMFHeader("Transfer-Encoding", "chunked"));
|
||||
// addHeader(IMFHeader("Transfer-Encoding", "chunked"));
|
||||
|
||||
// addHeader(IMFHeader("Server", "JETServer v0.0.1"));
|
||||
|
||||
output(response);
|
||||
// output(response);
|
||||
response << content.str();
|
||||
return response;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user