Open sebhaase opened 10 years ago
change CutyNetworkAccessManager to set rawheaders on seconday requests
If I use --header=Cookie:sessionid=... the cookie is not send to on the referenced in the primary page. The solutions should looke like:
req2.setRawHeader(header_1_key, header_1_val);
in a derived QNetworkAccessManager class QNetworkAccessManager::createRequest() method.
ref. http://stackoverflow.com/questions/2095365/setrawheader-doesnt-follow-elements-in-the-web-view
change CutyNetworkAccessManager to set rawheaders on seconday requests
If I use --header=Cookie:sessionid=... the cookie is not send to
on the referenced in the primary page.
The solutions should looke like:
req2.setRawHeader(header_1_key, header_1_val);
in a derived QNetworkAccessManager class QNetworkAccessManager::createRequest() method.