1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Merge branch 'unknow_error_bug' into 2.0

This commit is contained in:
Julien Duponchelle 2017-02-23 18:08:46 +01:00
commit 420c3792eb
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -39,6 +39,7 @@ class Response(aiohttp.web.Response):
self._route = route
self._output_schema = output_schema
self._request = request
headers['Connection'] = "close" # Disable keep alive because create trouble with old Qt (5.2, 5.3 and 5.4)
headers['X-Route'] = self._route
headers['Server'] = "Python/{0[0]}.{0[1]} GNS3/{1}".format(sys.version_info, __version__)
super().__init__(headers=headers, **kwargs)