def set_headers(self, headers):
        """Set headers"""
        for (header, value) in headers.iteritems():
            self.set_header(header, value)
def set_headers ( self , headers ) : for ( header , value ) in headers . iteritems ( ) : self . set_header ( header , value )
Set headers