| 197 | } |
| 198 | |
| 199 | size_t TCgiParameters::PrintSize() const noexcept { |
| 200 | size_t res = size(); // for '&' |
| 201 | |
| 202 | for (const auto& i : *this) { |
| 203 | res += CgiEscapeBufLen(i.first.size() + i.second.size()); // extra zero will be used for '=' |
| 204 | } |
| 205 | |
| 206 | return res; |
| 207 | } |
| 208 | |
| 209 | TString TCgiParameters::QuotedPrint(const char* safe) const { |
| 210 | if (empty()) { |
nothing calls this directly
no test coverage detected