Work on the IMFHeader and IMFMessage.
This commit is contained in:
1 parent
2e8bb4a123
commit
01180021b4
5 files changed
+22
-5
No files matched your search
+2
-2
@@ -9,8 +9,8 @@ namespace coreutils {
|
||||
IMFMessage::IMFMessage() : ZString() {}
|
||||
|
||||
IMFMessage::IMFMessage(ZString &in) : ZString(in) {
|
||||
|
||||
while (!in.ifNext("\r\n"))
|
||||
|
||||
while (!in.ifNext("\r\n") && in.ifNext("\n"))
|
||||
headers.emplace_back(in);
|
||||
|
||||
ZString type = getHeader("Content-Type");
|
||||
|
||||
Reference in new issue
Block a user