def set_headers(self, value, isTemplate=False):
if isTemplate:<EOL><INDENT>self.set_template(self.NAME_HEADERS, '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>self.del_template(self.NAME_HEADERS)<EOL><DEDENT>self._headers = value<EOL>
Set headers, passing flag if using a template