{"action":"opened","issue":{"url":"https://api.github.com/repos/totaljs/framework/issues/288","labels_url":"https://api.github.com/repos/totaljs/framework/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/totaljs/framework/issues/288/comments","events_url":"https://api.github.com/repos/totaljs/framework/issues/288/events","html_url":"https://github.com/totaljs/framework/issues/288","id":84535371,"number":288,"title":"framework.assert places extra headers in cookie instead of request header","user":{"login":"dbelca","id":1366934,"avatar_url":"https://avatars.githubusercontent.com/u/1366934?v=3","gravatar_id":"","url":"https://api.github.com/users/dbelca","html_url":"https://github.com/dbelca","followers_url":"https://api.github.com/users/dbelca/followers","following_url":"https://api.github.com/users/dbelca/following{/other_user}","gists_url":"https://api.github.com/users/dbelca/gists{/gist_id}","starred_url":"https://api.github.com/users/dbelca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbelca/subscriptions","organizations_url":"https://api.github.com/users/dbelca/orgs","repos_url":"https://api.github.com/users/dbelca/repos","events_url":"https://api.github.com/users/dbelca/events{/privacy}","received_events_url":"https://api.github.com/users/dbelca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T12:29:20Z","updated_at":"2015-06-03T12:29:20Z","closed_at":null,"body":"Hi,\r\n\r\nfirst many thanks for this framework and your work!\r\n\r\nI tried to add some testing to my app today and all runned smooth, until wanted to add an Authorization-Header to the request.\r\n\r\nThe documentation says:\r\nheaders\r\nObject\toptional Additional headers.\r\n\r\nOne would think that this refers to HTTP-Headers, right? As it turned out, the header values are wrapped in a cookie instead:\r\n\r\n{\"content-type\":\"application/json\",\"x-assertion-testing\":\"1\",\"x-powered-by\":\"total.js v1.8.0\",\"cookie\":\"Authorization=ZmV4OmFwaWtvQ3JlZGl0czo%3D\",\"content-length\":\"17\",\"host\":\"127.0.0.1:8000\",\"connection\":\"close\"}\r\n\r\n(from access log request.headers)\r\n\r\nIs there a way to really add HTTP-Headers?\r\n\r\nMany thanks in advance!"}}