Working Compiling Version
This commit is contained in:
1 parent
78cb2fdd10
commit
ff4d818f8b
3 files changed
+6
-1
No files matched your search
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"cmake.configureOnOpen": false
|
||||
}
|
||||
+1
-1
@@ -20,7 +20,7 @@ namespace coreutils {
|
||||
if(len > 0) {
|
||||
ZString block = in.readBlock(len);
|
||||
if(type.equals((char *)"multipart/form-data"))
|
||||
body = new IMFMultipart(block, getHeaderKeyPairValue((char *)"Content-Type", (char *)"boundary"));
|
||||
body = new IMFMultipart(block, getHeaderKeyPairValue((char *)"Content-Type", (char *)"boundary"));
|
||||
else if(type.equals((char *)"text/plain"))
|
||||
body = new IMFPlainText(block);
|
||||
else
|
||||
|
||||
@@ -24,6 +24,8 @@ namespace coreutils {
|
||||
cursor = data;
|
||||
}
|
||||
|
||||
ZString::ZString(const ZString&) {}
|
||||
|
||||
ZString::ZString(const char *data) : data((char *)data), length(strlen(data)), cursor((char *)data) {}
|
||||
|
||||
ZString::ZString(char *data, size_t length) : data(data), length(length), cursor(data) {}
|
||||
|
||||
Reference in new issue
Block a user