fix for comparison bug in GetHeader()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -179,6 +179,7 @@ All:
|
||||
|
||||
- always NUL-terminate the log messages
|
||||
- wxRegEx::Compile() now calculates the number of groups correctly
|
||||
- wxHTTP::GetHeader() didn't find headers which not all in upper case
|
||||
|
||||
All (GUI):
|
||||
|
||||
|
@@ -90,7 +90,7 @@ void wxHTTP::SetHeader(const wxString& header, const wxString& h_data)
|
||||
wxNode *node = m_headers.Find(header);
|
||||
|
||||
if (!node)
|
||||
m_headers.Append(header, (wxObject *)(new wxString(h_data)));
|
||||
m_headers.Append(header.MakeUpper(), (wxObject *)(new wxString(h_data)));
|
||||
else {
|
||||
wxString *str = (wxString *)node->Data();
|
||||
(*str) = h_data;
|
||||
|
Reference in New Issue
Block a user