mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:09:52 +02:00
Update direct _requestHeaders access to be consistent with other reads
This commit is contained in:
parent
debea3791d
commit
fdca6e0832
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ void HTTPConnection::readHeaders() {
|
||||||
if (trimmed.isEmpty()) {
|
if (trimmed.isEmpty()) {
|
||||||
_socket->disconnect(this, SLOT(readHeaders()));
|
_socket->disconnect(this, SLOT(readHeaders()));
|
||||||
|
|
||||||
QByteArray clength = _requestHeaders.value("content-length");
|
QByteArray clength = requestHeader("Content-Length");
|
||||||
if (clength.isEmpty()) {
|
if (clength.isEmpty()) {
|
||||||
_parentManager->handleHTTPRequest(this, _requestUrl);
|
_parentManager->handleHTTPRequest(this, _requestUrl);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue