qt - how to determine what is the QNetworkRequest Method (get or post)? -


when use qwebview browse websites , monitor requests using qwevview.page().networkaccessmanager().finished signal, how can detemine taht request method (post or get)?

this code:

def __init__()     self.web=qwebview()     self.web.seturl(myurl)     self.web.page().networkaccessmanager().finished.connect(self.checkmethod)     self.web.show()  def checkmethod(self,reply):     req=reply.request()     print(req.method())# can this? 


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -