Update direct _requestHeaders access to be consistent with other reads

This commit is contained in:
Ryan Huffman 2018-03-16 15:21:36 -07:00
parent debea3791d
commit fdca6e0832

View file

@ -251,7 +251,7 @@ void HTTPConnection::readHeaders() {
if (trimmed.isEmpty()) {
_socket->disconnect(this, SLOT(readHeaders()));
QByteArray clength = _requestHeaders.value("content-length");
QByteArray clength = requestHeader("Content-Length");
if (clength.isEmpty()) {
_parentManager->handleHTTPRequest(this, _requestUrl);