Improve URL string conversions and ostream support

This commit is contained in:
Vinnie Falco
2013-10-30 14:22:51 -07:00
parent e0512930ae
commit f859bf160a
4 changed files with 34 additions and 14 deletions

View File

@@ -37,17 +37,17 @@ public:
String name ()
{
return "URL: '" + m_url.full() + "'";
return "URL: '" + m_url.toString() + "'";
}
String uniqueID ()
{
return "URL," + m_url.full();
return "URL," + m_url.toString();
}
String createParam ()
{
return m_url.full();
return m_url.toString();
}
void cancel ()
@@ -68,7 +68,7 @@ public:
else
{
journal.error <<
"HTTP GET to " << m_url.full().toStdString() <<
"HTTP GET to " << m_url <<
" failed: '" << httpResult.first.message () << "'";
}
}