PDA

View Full Version : Can we get the type of resource requested in QNetworkAccessManager::createRquest()



bsalunke
19th October 2015, 10:21
I'm using qtwebkit to make http request and I'm fetching a resource using QNetworkAccessManager::createRequest().

Is their any way to know the resource type in this method?

e.g. I want know that whether the request is being made for "image" resource, "html" resource, "javascript" resorce, etc


Thanks in advance.
Regards,
Bala