Use the new Http classes.

This commit is contained in:
sledgehammer999
2014-05-01 18:42:12 +03:00
parent 6096506bd6
commit e8c14f3507
7 changed files with 14 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ const QList<QByteArray>& HttpRequestParser::torrents() const {
void HttpRequestParser::writeHeader(const QByteArray& ba) {
m_error = false;
// Parse header
m_header = QHttpRequestHeader(ba);
m_header = HttpRequestHeader(ba);
QUrl url = QUrl::fromEncoded(m_header.path().toLatin1());
m_path = url.path();