request.setRawHeader('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7')
request.setRawHeader('Connection', 'keep-alive')
return QNetworkAccessManager.createRequest(self, operation, request, data)
Cannot add custom request headers in PyQT4