+wxHTTP::wxHeaderIterator wxHTTP::FindHeader(const wxString& header) const
+{
+ // we can't convert between const_iterator to iterator otherwise...
+ wxStringToStringHashMap& headers = (wxStringToStringHashMap&)m_headers;
+
+ wxHeaderIterator it = headers.begin();
+ for ( wxHeaderIterator en = headers.end(); it != en; ++it )
+ {
+ if ( wxStricmp(it->first, header) == 0 )
+ break;
+ }
+
+ return it;
+}
+