summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/httpget.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/httpget.h')
-rw-r--r--rbutil/rbutilqt/httpget.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/httpget.h b/rbutil/rbutilqt/httpget.h
index 72a76e43c1..ba4cbc821e 100644
--- a/rbutil/rbutilqt/httpget.h
+++ b/rbutil/rbutilqt/httpget.h
@@ -57,6 +57,8 @@ class HttpGet : public QObject
57 { m_globalProxy = p; } 57 { m_globalProxy = p; }
58 static void setGlobalDumbCache(bool b) //< set "dumb" (ignore server status) caching mode 58 static void setGlobalDumbCache(bool b) //< set "dumb" (ignore server status) caching mode
59 { m_globalDumbCache = b; } 59 { m_globalDumbCache = b; }
60 static void setGlobalUserAgent(QString u) //< set global user agent string
61 { m_globalUserAgent = u; }
60 62
61 public slots: 63 public slots:
62 void abort(void); 64 void abort(void);
@@ -89,14 +91,17 @@ class HttpGet : public QObject
89 QString m_cachefile; // cached filename 91 QString m_cachefile; // cached filename
90 bool m_cached; 92 bool m_cached;
91 QUrl m_proxy; 93 QUrl m_proxy;
92 static QDir m_globalCache; //< global cache path value
93 static QUrl m_globalProxy; //< global proxy value
94 static bool m_globalDumbCache; //< cache "dumb" mode global setting
95 QDateTime m_serverTimestamp; //< timestamp of file on server 94 QDateTime m_serverTimestamp; //< timestamp of file on server
96 QString m_query; //< constructed query to pass http getter 95 QString m_query; //< constructed query to pass http getter
97 QString m_path; //< constructed path to pass http getter 96 QString m_path; //< constructed path to pass http getter
98 QString m_hash; //< caching hash 97 QString m_hash; //< caching hash
99 bool m_dumbCache; //< true if caching should ignore the server header 98 bool m_dumbCache; //< true if caching should ignore the server header
99 QHttpRequestHeader m_header;
100
101 static QDir m_globalCache; //< global cache path value
102 static QUrl m_globalProxy; //< global proxy value
103 static bool m_globalDumbCache; //< cache "dumb" mode global setting
104 static QString m_globalUserAgent; //< global user agent string
100}; 105};
101 106
102#endif 107#endif