Url
const BUrl& Url() const;
const BUrl& Url() const;
const BUrl& Url() const noexcept;
const BUrl& Url() const;
const BUrl& Url() const;
HttpURLConnection::HttpURLConnection(const BUrl &Url)
: connected(false), doInput(true), doOutput(false), url(Url)
IppURLConnection::IppURLConnection(const BUrl &Url)
: HttpURLConnection(Url)
BUrl redirectUrl(result.Url(), location);
return _ExtraMediaExists(playlist, urlItem->Url());
if (compare->Url() == url)
fUrl = BUrl(item.Url());
BUrl Url() const;
fPath = Url().Path();
if (!Url().HasPath() || fPath.Length() == 0 || fPath == "/") {
if (Url().HasRequest())
request << '\t' << Url().Request();
pageTitle << "Index of " << Url();
if (fSSL && Url().Port() == 443)
if (!fSSL && Url().Port() == 80)
BNetworkRequest(other.Url(), other.Output(), other.fListener,
request << Url().Protocol() << "://" << Url().Host();
if (Url().HasPort())
request << ':' << Url().Port();
if (Url().HasPath() && Url().Path().Length() > 0)
request << Url().Path();
if (Url().HasRequest())
request << '?' << Url().Request();
BString host = Url().Host();
if (Url().HasPort() && !_IsDefaultPort())
host << ':' << Url().Port();
BUrlRequest(request.Url(), request.Output(), NULL, request.Context(),
buffer << "?"sv << Url().Request().String();
return {fRequest.Url().Host(), fRequest.Url().Port()};
if (fRequest.Url().HasPort())
port = fRequest.Url().Port();
else if (fRequest.Url().Protocol() == "https")
if (auto status = fRemoteAddress.SetTo(fRequest.Url().Host(), port); status != B_OK) {
[this](BMessage& msg) { msg.AddString(UrlEventData::HostName, fRequest.Url().Host()); });
if (fRequest.Url().Protocol() == "https") {
BUrl(fRequest.Url(), locationString), redirectToGet};
const char* Url() const { return fUrl.String(); }
.Append(" (").Append(rowItem->Url()).Append(")");
if (result == B_OK && repoConfig.BaseURL() == rowItem->Url())
BUrl rowRepoUrl(repoItem->Url(), true);
urlList.Add(repoItem->Url());
BUrl itemUrl(repoItem->Url(), true);
newTask->taskParam = rowItem->Url();
CPPUNIT_ASSERT(request.Url() == url);