| 306 | } |
| 307 | |
| 308 | std::string URI::getPathAndQuery() const { |
| 309 | std::string pathAndQuery; |
| 310 | encode( mPath, RESERVED_PATH, pathAndQuery ); |
| 311 | if ( !mQuery.empty() ) { |
| 312 | pathAndQuery += '?'; |
| 313 | pathAndQuery += mQuery; |
| 314 | } |
| 315 | return pathAndQuery; |
| 316 | } |
| 317 | |
| 318 | void URI::resolve( const std::string& relativeURI ) { |
| 319 | URI ParsedURI( relativeURI ); |
no test coverage detected