Improve embedded tracker

Now it conforms to BEPs more closely.
This commit is contained in:
Chocobo1 2019-08-08 23:21:07 +08:00
parent 94f7a095bb
commit 8d0d8e4dcb
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
10 changed files with 423 additions and 230 deletions

View file

@ -32,7 +32,7 @@ using namespace Http;
void ResponseBuilder::status(const uint code, const QString &text)
{
m_response.status = ResponseStatus(code, text);
m_response.status = {code, text};
}
void ResponseBuilder::header(const QString &name, const QString &value)