{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/dimagi-utils/issues/251","labels_url":"https://api.github.com/repos/dimagi/dimagi-utils/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/dimagi-utils/issues/251/comments","events_url":"https://api.github.com/repos/dimagi/dimagi-utils/issues/251/events","html_url":"https://github.com/dimagi/dimagi-utils/pull/251","id":60012660,"number":251,"title":"Use REQUEST over POST/GET","user":{"login":"benrudolph","id":918514,"avatar_url":"https://avatars.githubusercontent.com/u/918514?v=3","gravatar_id":"","url":"https://api.github.com/users/benrudolph","html_url":"https://github.com/benrudolph","followers_url":"https://api.github.com/users/benrudolph/followers","following_url":"https://api.github.com/users/benrudolph/following{/other_user}","gists_url":"https://api.github.com/users/benrudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/benrudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrudolph/subscriptions","organizations_url":"https://api.github.com/users/benrudolph/orgs","repos_url":"https://api.github.com/users/benrudolph/repos","events_url":"https://api.github.com/users/benrudolph/events{/privacy}","received_events_url":"https://api.github.com/users/benrudolph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-05T20:41:54Z","updated_at":"2015-03-06T13:17:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/dimagi-utils/pulls/251","html_url":"https://github.com/dimagi/dimagi-utils/pull/251","diff_url":"https://github.com/dimagi/dimagi-utils/pull/251.diff","patch_url":"https://github.com/dimagi/dimagi-utils/pull/251.patch"},"body":"This is a weird one, but this actually fixes this bug: http://manage.dimagi.com/default.asp?159628#887637\r\n\r\nIt isn't the only way to fix it but probably the least amount of intervention. The issue was that when making a POST call to get the report, the jquery data was being passed into the GET hash. So the method would be POST yet the data would be in the GET. This is the culprit: \r\nhttps://github.com/benrudolph/commcare-hq/blob/fix-setstate/corehq/apps/reports/static/reports/javascripts/reports.config.js#L46\r\n\r\nThe other option is to refactor `get_report_render_url`\r\n\r\n@czue "},"comment":{"url":"https://api.github.com/repos/dimagi/dimagi-utils/issues/comments/77556843","html_url":"https://github.com/dimagi/dimagi-utils/pull/251#issuecomment-77556843","issue_url":"https://api.github.com/repos/dimagi/dimagi-utils/issues/251","id":77556843,"user":{"login":"czue","id":66555,"avatar_url":"https://avatars.githubusercontent.com/u/66555?v=3","gravatar_id":"","url":"https://api.github.com/users/czue","html_url":"https://github.com/czue","followers_url":"https://api.github.com/users/czue/followers","following_url":"https://api.github.com/users/czue/following{/other_user}","gists_url":"https://api.github.com/users/czue/gists{/gist_id}","starred_url":"https://api.github.com/users/czue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czue/subscriptions","organizations_url":"https://api.github.com/users/czue/orgs","repos_url":"https://api.github.com/users/czue/repos","events_url":"https://api.github.com/users/czue/events{/privacy}","received_events_url":"https://api.github.com/users/czue/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T13:17:04Z","updated_at":"2015-03-06T13:17:04Z","body":"fyi, this is getting deprecated soon: https://docs.djangoproject.com/en/1.7/ref/request-response/#django.http.HttpRequest.REQUEST"}}