mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Add ability to send custom HTTP headers
This commit is contained in:
parent
f1d02c6aee
commit
bb80b378c1
8 changed files with 123 additions and 0 deletions
|
@ -157,4 +157,13 @@ private:
|
|||
bool m_isHostHeaderValidationEnabled;
|
||||
bool m_isHttpsEnabled;
|
||||
QString m_contentSecurityPolicy;
|
||||
|
||||
// Custom HTTP headers
|
||||
struct CustomHTTPHeader
|
||||
{
|
||||
QString name;
|
||||
QString value;
|
||||
};
|
||||
bool m_useCustomHTTPHeaders;
|
||||
QVector<CustomHTTPHeader> m_customHTTPHeaders;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue