[PyQt] QNetworkReply.header(QNetworkRequest.ContentLengthHeader) returns None

redstone-cold redstone-cold at 163.com
Wed May 18 06:35:55 BST 2016


reply is type of QNetworkReply, 
QByteArray(b'Content-Length'), PyQt5.QtCore.QByteArray(b'0, 33259656')
is  the Content-Length pair returned by reply.rawHeaderPairs(), in such case,
reply.header(QNetworkRequest.ContentLengthHeader) just returns None,
I wonder is this a bug or not?







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160518/099fee82/attachment.html>


More information about the PyQt mailing list