IMPLEMENT_DYNAMIC_CLASS(wxHTTP, wxProtocol)
IMPLEMENT_PROTOCOL(wxHTTP, wxT("http"), wxT("80"), TRUE)
IMPLEMENT_DYNAMIC_CLASS(wxHTTP, wxProtocol)
IMPLEMENT_PROTOCOL(wxHTTP, wxT("http"), wxT("80"), TRUE)
m_perr = GetLine(this, line);
if (m_perr != wxPROTO_NOERR)
return FALSE;
m_perr = GetLine(this, line);
if (m_perr != wxPROTO_NOERR)
return FALSE;
// If there is no User-Agent defined, define it.
if (GetHeader(wxT("User-Agent")).IsNull())
// If there is no User-Agent defined, define it.
if (GetHeader(wxT("User-Agent")).IsNull())