{"action":"opened","issue":{"url":"https://api.github.com/repos/pfn/keepasshttp/issues/372","repository_url":"https://api.github.com/repos/pfn/keepasshttp","labels_url":"https://api.github.com/repos/pfn/keepasshttp/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/pfn/keepasshttp/issues/372/comments","events_url":"https://api.github.com/repos/pfn/keepasshttp/issues/372/events","html_url":"https://github.com/pfn/keepasshttp/issues/372","id":363554388,"node_id":"MDU6SXNzdWUzNjM1NTQzODg=","number":372,"title":"KeePass crash","user":{"login":"piegamesde","id":14054505,"node_id":"MDQ6VXNlcjE0MDU0NTA1","avatar_url":"https://avatars3.githubusercontent.com/u/14054505?v=4","gravatar_id":"","url":"https://api.github.com/users/piegamesde","html_url":"https://github.com/piegamesde","followers_url":"https://api.github.com/users/piegamesde/followers","following_url":"https://api.github.com/users/piegamesde/following{/other_user}","gists_url":"https://api.github.com/users/piegamesde/gists{/gist_id}","starred_url":"https://api.github.com/users/piegamesde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piegamesde/subscriptions","organizations_url":"https://api.github.com/users/piegamesde/orgs","repos_url":"https://api.github.com/users/piegamesde/repos","events_url":"https://api.github.com/users/piegamesde/events{/privacy}","received_events_url":"https://api.github.com/users/piegamesde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-25T12:31:20Z","updated_at":"2018-09-25T12:31:20Z","closed_at":null,"author_association":"NONE","body":"I am currently trying to write a little client for KeePassHTTP using python:\r\n\r\n```\r\n#!/bin/python3\r\nimport requests\r\n\r\npayload = {\r\n    'header': 'Connection: keep-alive',\r\n    'header': 'Accept: */*',\r\n    'header': 'Accept-Encoding: gzip, deflate, br',\r\n    'header': 'Content-Type: application/json',\r\n    'post-data': '{\\\"RequestType\\\":\\\"test-associate\\\",\\\"TriggerUnlock\\\":false}'\r\n}\r\nr = requests.get('http://localhost:19455', data=payload)\r\nprint(r.status_code)\r\nprint(r.text)\r\n```\r\n\r\nThis little code has an interesting property: start it with `python3` and KeePass will crash. This shouldn't happen."}}
{"actor":{"display_login":"piegamesde"}}