]> git.saurik.com Git - wxWidgets.git/commit
Add SetPostBuffer(wxMemoryBuffer) and SetPostText() to wxHTTP.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jan 2012 12:22:25 +0000 (12:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jan 2012 12:22:25 +0000 (12:22 +0000)
commitab9d6a4c8b9ba090b5b8c77c4afbbbe4043030a1
treeba417a7ec704c8a21e2f1053854f3324ed276c96
parent846b6c86586ff3c5a1948132761ba223f3ccb75c
Add SetPostBuffer(wxMemoryBuffer) and SetPostText() to wxHTTP.

This allows to post binary data or text data in e.g. UTF-8 encoding (which is
by far the most common case) easily.

Deprecate the existing SetPostBuffer(wxString) as it didn't explicitly specify
the encoding to use for the data to be posted.

Closes #13870.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/protocol/http.h
interface/wx/protocol/http.h
src/common/http.cpp