Define and use a proper HTTP header structure

This commit is contained in:
Chocobo1 2020-05-10 02:48:21 +08:00
commit 74a2168bc1
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
5 changed files with 16 additions and 17 deletions

View file

@ -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;
};