You have to subclass QNetworkAccessManager and reimplement createRequest(). Then you can return whatever you want.