Lines Matching defs:headersStr
41 std::string headersStr = "{";
43 headersStr += key + ":" + value + ",";
45 headersStr[headersStr.size() - 1] = '}';
46 responseJson->Put(std::string("headers").c_str(), headersStr.c_str());
51 void ResponseData::SetHeaders(std::string headersStr)
54 size_t posSeparator = headersStr.find(separator);
56 std::string header = headersStr.substr(0, posSeparator - 1);
66 headersStr = headersStr.substr(posSeparator + 1);
67 posSeparator = headersStr.find(separator);