m_read = FALSE;
m_proxy_mode = FALSE;
m_post_buf = wxEmptyString;
+ m_http_response = 0;
SetNotify(wxSOCKET_LOST_FLAG);
}
return FALSE;
}
+ m_http_response = 0;
+
// If there is no User-Agent defined, define it.
if (GetHeader(wxT("User-Agent")).IsNull())
SetHeader(wxT("User-Agent"), wxT("wxWindows 2.x"));
token.NextToken();
tmp_str2 = token.NextToken();
+ m_http_response = wxAtoi(tmp_str2);
+
switch (tmp_str2[0u]) {
case wxT('1'):
/* INFORMATION / SUCCESS */