Added HTTP::URL::getFilePath()
This commit is contained in:
parent
c370930c70
commit
2e65c1e431
2 changed files with 6 additions and 0 deletions
|
@ -182,6 +182,11 @@ std::string HTTP::URL::getUrl() const{
|
|||
return ret;
|
||||
}
|
||||
|
||||
/// Returns the full file path, in case this is a local file URI
|
||||
std::string HTTP::URL::getFilePath() const{
|
||||
return "/"+path;
|
||||
}
|
||||
|
||||
/// Returns the URL in string format without auth and frag
|
||||
std::string HTTP::URL::getProxyUrl() const{
|
||||
std::string ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue