* Introduced wxURL::ConvertToValidURI (to be implemented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2576
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static void SetDefaultProxy(const wxString& url_proxy);
void SetProxy(const wxString& url_proxy);
static void SetDefaultProxy(const wxString& url_proxy);
void SetProxy(const wxString& url_proxy);
+
+ static wxString ConvertToValidURI(const wxString& uri);
if (line.Length() == 0)
break;
if (line.Length() == 0)
break;
- printf("Header: %s\n", WXSTRINGCAST line);
tokenzr.SetString(line, " :\t\n\r");
if (!tokenzr.HasMoreToken())
return FALSE;
tokenzr.SetString(line, " :\t\n\r");
if (!tokenzr.HasMoreToken())
return FALSE;
SetFlags(NONE);
Notify(FALSE);
SetFlags(NONE);
Notify(FALSE);
- sprintf(buf, "%s %s HTTP/1.0\n\r", tmp_buf, (const char*)pathbuf);
+ sprintf(buf, "%s %s\n\r", tmp_buf, pathbuf);
Write(buf, strlen(buf));
SendHeaders();
sprintf(buf, "\n\r");
Write(buf, strlen(buf));
SendHeaders();
sprintf(buf, "\n\r");
+wxString wxURL::ConvertToValidURI(const wxString& uri)
+{
+ return wxString(uri);
+}
+