Added HTTP::Downloader class

This commit is contained in:
Thulinma 2017-06-10 12:28:43 +02:00
parent 72a6816ec1
commit 74acdedeb2
5 changed files with 148 additions and 2 deletions

View file

@ -158,7 +158,7 @@ std::string HTTP::URL::getBareUrl() const{
}
///Returns a URL object for the given link, resolved relative to the current URL object.
HTTP::URL HTTP::URL::link(const std::string &l){
HTTP::URL HTTP::URL::link(const std::string &l) const{
//Full link
if (l.find("://") < l.find('/') && l.find('/' != std::string::npos)){
DONTEVEN_MSG("Full link: %s", l.c_str());