Пример #1
0
 def start_response(self, status, headers, exc_info=None):
     # headers['Access-Control-Allow-Origin'] = '*'
     return SocketIOHandler.start_response(self, status, headers,
                                           exc_info)
Пример #2
0
 def start_response(self, status, headers, exc_info=None):
     # headers['Access-Control-Allow-Origin'] = '*'
     return SocketIOHandler.start_response(self, status, headers, exc_info)
Пример #3
0
 def start_response(self, status, headers, exc_info=None):
     # workaround for some headers not being unicode:
     headers = [(k, str(v)) for k, v in headers]
     # headers['Access-Control-Allow-Origin'] = '*'
     return SocketIOHandler.start_response(self, status, headers, exc_info)
Пример #4
0
 def start_response(self, status, headers, exc_info=None):
     # workaround for some headers not being unicode:
     headers = [(k, str(v)) for k, v in headers]
     # headers['Access-Control-Allow-Origin'] = '*'
     return SocketIOHandler.start_response(self, status, headers,
                                           exc_info)