+ return GetHeader(wxT("Content-Type"));
+}
+
+void wxHTTP::SetProxyMode(bool on)
+{
+ m_proxy_mode = on;
+}
+
+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;