# HG changeset patch # User Arthur Lutz # Date 1498142388 -7200 # Node ID be4824a72bf53b733d78191f88e8bc20359fe494 # Parent 43022c1fa133e9f6caac07fde78dabbab029bf92 [cubicweb/pyramid] take into account two ignored CORS configuration items from all-in-one.conf diff -r 43022c1fa133 -r be4824a72bf5 cubicweb/pyramid/__init__.py --- a/cubicweb/pyramid/__init__.py Tue Apr 04 10:50:49 2017 +0200 +++ b/cubicweb/pyramid/__init__.py Thu Jun 22 16:39:48 2017 +0200 @@ -111,7 +111,9 @@ app, origin=' '.join(cwconfig['access-control-allow-origin']), headers=', '.join(cwconfig['access-control-allow-headers']), + expose_headers=', '.join(cwconfig['access-control-expose-headers']), methods=', '.join(cwconfig['access-control-allow-methods']), + maxage=cwconfig['access-control-max-age'], credentials='true') if profile: