URL parser fixes/improvements

This commit is contained in:
Thulinma 2017-10-24 13:58:56 +02:00
parent 7d420d884e
commit 047aebdb27
3 changed files with 144 additions and 106 deletions

View file

@ -83,7 +83,10 @@ namespace HTTP {
std::string path;///<Path after the first slash (not inclusive) but before any question mark
std::string args;///<Everything after the question mark in the path, if it was present
std::string frag;///<Everything after the # in the path, if it was present
std::string user;///<Username, if it was present
std::string pass;///<Password, if it was present
URL link(const std::string &l) const;
bool IPv6Addr;
};
}//HTTP namespace