mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Define and use a proper HTTP header structure
This commit is contained in:
parent
957d697aee
commit
74a2168bc1
5 changed files with 16 additions and 17 deletions
|
@ -156,12 +156,5 @@ private:
|
|||
bool m_isHostHeaderValidationEnabled;
|
||||
bool m_isHttpsEnabled;
|
||||
|
||||
// Custom HTTP headers
|
||||
struct CustomHTTPHeader
|
||||
{
|
||||
QString name;
|
||||
QString value;
|
||||
};
|
||||
|
||||
QVector<CustomHTTPHeader> m_prebuiltHeaders;
|
||||
QVector<Http::Header> m_prebuiltHeaders;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue