]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/http.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / protocol / http.h
index 82c1365889acfe6c4a71ce95a1de368045a6a366..5aeea291bea7dd176eadb3cc3cac1418257483ec 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLEXPORT wxHTTP : public wxProtocol {
 protected:
   wxProtocolError m_perr;
   wxList m_headers;
-  bool m_read;
+  bool m_read, m_proxy_mode;
   wxSockAddress *m_addr;
 public:
   wxHTTP();
@@ -36,9 +36,12 @@ public:
   void SetHeader(const wxString& header, const wxString& h_data);
   wxString GetHeader(const wxString& header);
 
+  void SetProxyMode(bool on);
+
 protected:
   typedef enum {
-    wxHTTP_GET
+    wxHTTP_GET,
+    wxHTTP_HEAD
   } wxHTTP_Req;
   bool BuildRequest(const wxString& path, wxHTTP_Req req);
   void SendHeaders();