ariya/phantomjs — pull request #11824 by carsonmcdonald (2013-12-08 16:29:15+00:00)
Title: Add a field for request headers on response

There doesn't appear to be a way to get all of the headers sent with a request. When onResourceRequested is fired the headers aren't complete. This adds the request headers to the data for onResourceReceived in a new field called requestHeaders.

I looked at moving onResourceRequested to after QNetworkAccessManager::createRequest where more headers get set but from the tests it looks like onResourceRequested is used to set headers.