{"action":"closed","issue":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/2159","repository_url":"https://api.github.com/repos/arangodb/arangodb","labels_url":"https://api.github.com/repos/arangodb/arangodb/issues/2159/labels{/name}","comments_url":"https://api.github.com/repos/arangodb/arangodb/issues/2159/comments","events_url":"https://api.github.com/repos/arangodb/arangodb/issues/2159/events","html_url":"https://github.com/arangodb/arangodb/issues/2159","id":188102177,"number":2159,"title":"Modifying Access-Control-Expose-Headers from within foxx service results in doubled header","user":{"login":"clamor","id":591378,"avatar_url":"https://avatars.githubusercontent.com/u/591378?v=3","gravatar_id":"","url":"https://api.github.com/users/clamor","html_url":"https://github.com/clamor","followers_url":"https://api.github.com/users/clamor/followers","following_url":"https://api.github.com/users/clamor/following{/other_user}","gists_url":"https://api.github.com/users/clamor/gists{/gist_id}","starred_url":"https://api.github.com/users/clamor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clamor/subscriptions","organizations_url":"https://api.github.com/users/clamor/orgs","repos_url":"https://api.github.com/users/clamor/repos","events_url":"https://api.github.com/users/clamor/events{/privacy}","received_events_url":"https://api.github.com/users/clamor/received_events","type":"User","site_admin":false},"labels":[{"id":4539395,"url":"https://api.github.com/repos/arangodb/arangodb/labels/1_Bug","name":"1_Bug","color":"e10c02","default":false},{"id":483469884,"url":"https://api.github.com/repos/arangodb/arangodb/labels/Fixed","name":"Fixed","color":"e99695","default":false},{"id":33724980,"url":"https://api.github.com/repos/arangodb/arangodb/labels/foxx","name":"foxx","color":"66aaff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/arangodb/arangodb/milestones/39","html_url":"https://github.com/arangodb/arangodb/milestones/3.1.1","labels_url":"https://api.github.com/repos/arangodb/arangodb/milestones/39/labels","id":2121531,"number":39,"title":"3.1.1","description":null,"creator":{"login":"pluma","id":1280922,"avatar_url":"https://avatars.githubusercontent.com/u/1280922?v=3","gravatar_id":"","url":"https://api.github.com/users/pluma","html_url":"https://github.com/pluma","followers_url":"https://api.github.com/users/pluma/followers","following_url":"https://api.github.com/users/pluma/following{/other_user}","gists_url":"https://api.github.com/users/pluma/gists{/gist_id}","starred_url":"https://api.github.com/users/pluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluma/subscriptions","organizations_url":"https://api.github.com/users/pluma/orgs","repos_url":"https://api.github.com/users/pluma/repos","events_url":"https://api.github.com/users/pluma/events{/privacy}","received_events_url":"https://api.github.com/users/pluma/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2016-11-08T11:04:25Z","updated_at":"2016-11-21T21:27:49Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-11-08T21:01:23Z","updated_at":"2016-11-21T21:27:49Z","closed_at":"2016-11-21T21:27:49Z","body":"## my environment running ArangoDB\r\nI'm using the latest ArangoDB of the respective release series:\r\n- [x] 3.1\r\n\r\nOn this operating system:\r\n  - [x] docker - official docker library\r\n\r\n### Foxx\r\n\r\nI attached an angular based WebGUI for CRUD ( https://github.com/marmelab/ng-admin ) to a arangodb foxx service. That works fine, as long as the gui files are served directly from within arangodb.\r\n\r\nWhen the gui is moved to another server, I have to modify Access-Control-Expose-Headers in the response to allow a X-Total-Count header in the response. Setting the x-total-count header for the reponse works fine from within router.get(... but I did not manage to modify the access-control-expose-headers to allow the x-total-count. Any hints where I can change this?\r\n\r\nAnd btw., thanks for your great product."}}
{"actor":{"display_login":"clamor"}}