def __sethead(self, access_token):
self.access_token = access_token<EOL>now = calendar.timegm(datetime.datetime.now().timetuple())<EOL>self.expiration = now + <NUM_LIT><EOL>self.head = {"<STR_LIT>": "<STR_LIT>" % access_token,<EOL>"<STR_LIT>": self.user_agent<EOL>}<EOL>
Set HTTP header.