Many additions and changes.

This commit is contained in:
barant committed 2019-09-13 10:29:36 -07:00
1 parent 50f6e972de
commit 08169b1c3d
30 files changed
+451 -63

No files matched your search

+2 -2
View File
@@ -10,11 +10,11 @@ namespace coreutils {
IMFHeader::IMFHeader(PString &in) {
key = in.getTokenInclude("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-");
if(!in.ifNext(":"))
throw core::Exception("Invalid character in expected header token.");
throw coreutils::Exception("Invalid character in expected header token.");
in.skipWhitespace();
value = in.getTokenExclude("\r\n");
if(!in.ifNext("\r\n"))
throw core::Exception("Expected CRLF.");
throw coreutils::Exception("Expected CRLF.");
}
IMFHeader::IMFHeader(std::string key, std::string value) {