[Twisted-web] getting response headers from client.getPage

Lars Woetmann Pedersen lists at larswp.dk
Thu Nov 11 02:58:32 MST 2004


how do I get the responce header in printResult
the code looks like this now, the content of the page
is in data, but I also need the header to check the etag and last-modified

         d = client.getPage(myurl)

def printResult(data):
         print 'printing result:'
         print data

Lars W.

More information about the Twisted-web mailing list