File "/VIRTUALENV_PROJECTS/garage/lib/python3.7/site-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 149, in __call__
return self.wsgi_app(environ, start_response)
File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 155, in __call__
return self.app(environ, start_response)
File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 134, in wsgi_app
response.headers['Access-Control-Allow-Origin'] = origin
AttributeError: 'NotImplemented' object has no attribute 'headers'