HTTP engine tweaks for SVN support.

This commit is contained in:
James Turner
2013-06-09 19:19:02 +01:00
parent 9bfa6ac1a1
commit 323d0d5ba0
6 changed files with 174 additions and 127 deletions
+7 -3
View File
@@ -48,6 +48,11 @@ string Request::header(const std::string& name) const
return string();
}
void Request::requestStart()
{
}
void Request::responseStart(const string& r)
{
const int maxSplit = 2; // HTTP/1.1 nnn reason-string
@@ -232,10 +237,9 @@ std::string Request::requestBodyType() const
return "text/plain";
}
void Request::getBodyData(char*, int& count) const
int Request::getBodyData(char*, int maxCount) const
{
count = 0;
return;
return 0;
}
} // of namespace HTTP