mirror of
https://github.com/openappsec/openappsec.git
synced 2026-01-17 16:00:26 +03:00
sync code
This commit is contained in:
@@ -29,8 +29,11 @@ RestHelper::reportError(std::string const &err)
|
||||
}
|
||||
|
||||
Maybe<string>
|
||||
ServerRest::performRestCall(istream &in)
|
||||
ServerRest::performRestCall(istream &in, const map<string, string> &headers)
|
||||
{
|
||||
if (wantsHeaders()) {
|
||||
request_headers = headers;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
int firstChar = in.peek();
|
||||
|
||||
Reference in New Issue
Block a user