X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/062c4861718a681a27384d6a2313fc26cda3b3e4..2bc07607fcd675b564bbf8fc6cb83010963dbf95:/src/common/http.cpp diff --git a/src/common/http.cpp b/src/common/http.cpp index 19b1edf023..779472541d 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -129,7 +129,6 @@ bool wxHTTP::ParseHeaders() if (line.Length() == 0) break; - printf("Header: %s\n", WXSTRINGCAST line); tokenzr.SetString(line, " :\t\n\r"); if (!tokenzr.HasMoreToken()) return FALSE; @@ -198,7 +197,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) 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, (const char*) pathbuf); Write(buf, strlen(buf)); SendHeaders(); sprintf(buf, "\n\r");