Many additions and changes.
This commit is contained in:
1 parent
50f6e972de
commit
08169b1c3d
30 files changed
+451
-63
No files matched your search
+3
-3
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user