Work on the IMFHeader and IMFMessage.

This commit is contained in:
Brad Arant committed 2024-11-11 15:58:58 -08:00
1 parent 2e8bb4a123
commit 01180021b4
5 files changed
+22 -5

No files matched your search

+2 -2
View File
@@ -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");