HttpRequest: don't send an empty URL for GET request
* The new proxy in Thalys trains doesn't like that.
This commit is contained in:
parent
f86df64b91
commit
2ecff85ce1
@ -847,7 +847,7 @@ BHttpRequest::_SendRequest()
|
||||
request << ':' << Url().Port();
|
||||
}
|
||||
|
||||
if (Url().HasPath())
|
||||
if (Url().HasPath() && Url().Path().Length() > 0)
|
||||
request << Url().Path();
|
||||
else
|
||||
request << '/';
|
||||
|
Loading…
Reference in New Issue
Block a user