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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -