@staticmethod<EOL><INDENT>def create_headers(add_authorization_token, token=None):<DEDENT>
headers = {}<EOL>headers['<STR_LIT:Content-Type>'] = '<STR_LIT:application/json>'<EOL>if add_authorization_token:<EOL><INDENT>headers['<STR_LIT>'] = '<STR_LIT>' + token<EOL><DEDENT>return headers<EOL>
Create http header for rest request.