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

+3 -3
View File
@@ -8,13 +8,13 @@ namespace coreutils {
IMFRequest::IMFRequest(PString &in) {
method = in.getTokenExclude(" ");
if(!in.ifNext(" "))
throw core::Exception("Expecting space after method.");
throw coreutils::Exception("Expecting space after method.");
uri = in.getTokenExclude(" ");
if(!in.ifNext(" "))
throw core::Exception("Expecting space after URI.");
throw coreutils::Exception("Expecting space after URI.");
protocol = in.getTokenExclude("\r\n");
if(!in.ifNext("\r\n"))
throw core::Exception("Expecting CRLF after protocol.");
throw coreutils::Exception("Expecting CRLF after protocol.");
}
std::string IMFRequest::getMethod() {