| 163 | } |
| 164 | |
| 165 | optional<string> Request::query(const string& param) const { |
| 166 | auto it = mQuery.find(param); |
| 167 | if (it != mQuery.end()) { |
| 168 | return it->second; |
| 169 | } |
| 170 | return nullopt; |
| 171 | } |
| 172 | |
| 173 | //============================================================================== |
| 174 | // Response implementation |