worked on IMF smartbuffers.

This commit is contained in:
brad Arant committed 2025-02-21 13:22:57 -08:00
1 parent 3f0a541e80
commit 11f396a749
6 files changed
+72 -69

No files matched your search

+3 -12
View File
@@ -4,18 +4,9 @@
namespace coreutils {
IMFFormData::IMFFormData() {}
IMFFormData::IMFFormData(ZString &in, ZString &boundary) : IMFMultipart(in, boundary) {}
ZString IMFFormData::getByName(ZString &name) {
for(ZString section: sections) {
IMFMessage message(section);
if(message.getHeaderKeyPairValue("Content-Disposition", ("name")).equals(name)) {
return message.multipart;
}
}
return ZString();
IMFFormData::IMFFormData(int fd, ZString boundary) {
IMFHeader header(fd);
IMFText text(fd, boundary);
}
}