{"action":"created","issue":{"url":"https://api.github.com/repos/marselester/flask-api-utils/issues/3","labels_url":"https://api.github.com/repos/marselester/flask-api-utils/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/marselester/flask-api-utils/issues/3/comments","events_url":"https://api.github.com/repos/marselester/flask-api-utils/issues/3/events","html_url":"https://github.com/marselester/flask-api-utils/issues/3","id":79454468,"number":3,"title":"Hawk: Support for application/x-www-form-urlencoded","user":{"login":"torotil","id":182122,"avatar_url":"https://avatars.githubusercontent.com/u/182122?v=3","gravatar_id":"","url":"https://api.github.com/users/torotil","html_url":"https://github.com/torotil","followers_url":"https://api.github.com/users/torotil/followers","following_url":"https://api.github.com/users/torotil/following{/other_user}","gists_url":"https://api.github.com/users/torotil/gists{/gist_id}","starred_url":"https://api.github.com/users/torotil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torotil/subscriptions","organizations_url":"https://api.github.com/users/torotil/orgs","repos_url":"https://api.github.com/users/torotil/repos","events_url":"https://api.github.com/users/torotil/events{/privacy}","received_events_url":"https://api.github.com/users/torotil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-22T13:24:32Z","updated_at":"2015-05-22T15:39:31Z","closed_at":null,"body":"The current implementation of Hawk works fine for application/json, but it doesn't work for urlencoded post data.\r\n\r\nThe reason is that (at this time in the request) the form-encoded data can only be accessed in request.form or request.content - while request.data is empty.\r\n\r\nMaybe it would be more robust to move the signature checking into a WSGI-middleware and then access the results later on in the decorators."},"comment":{"url":"https://api.github.com/repos/marselester/flask-api-utils/issues/comments/104694067","html_url":"https://github.com/marselester/flask-api-utils/issues/3#issuecomment-104694067","issue_url":"https://api.github.com/repos/marselester/flask-api-utils/issues/3","id":104694067,"user":{"login":"marselester","id":823099,"avatar_url":"https://avatars.githubusercontent.com/u/823099?v=3","gravatar_id":"","url":"https://api.github.com/users/marselester","html_url":"https://github.com/marselester","followers_url":"https://api.github.com/users/marselester/followers","following_url":"https://api.github.com/users/marselester/following{/other_user}","gists_url":"https://api.github.com/users/marselester/gists{/gist_id}","starred_url":"https://api.github.com/users/marselester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marselester/subscriptions","organizations_url":"https://api.github.com/users/marselester/orgs","repos_url":"https://api.github.com/users/marselester/repos","events_url":"https://api.github.com/users/marselester/events{/privacy}","received_events_url":"https://api.github.com/users/marselester/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T15:39:31Z","updated_at":"2015-05-22T15:39:31Z","body":"I replaced it by `request.get_data()`, thanks!"}}