title: Is there a way to extract the http response using python polling function
body: <p>I was using following code to poll a pub/sub server</p>
  
  <pre><code>    import requests
      polling2.poll(lambda: requests.get('http://google.com').status_code == 200,
      step=60,
      poll_forever=True)
  </code></pre>
  
  <p>If this returns true,is there a way to access the response body in order to get the specific fields?In my case it is returning a json response</p>