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