{"action":"created","issue":{"url":"https://api.github.com/repos/tkf/emacs-request/issues/16","labels_url":"https://api.github.com/repos/tkf/emacs-request/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/tkf/emacs-request/issues/16/comments","events_url":"https://api.github.com/repos/tkf/emacs-request/issues/16/events","html_url":"https://github.com/tkf/emacs-request/issues/16","id":36566283,"number":16,"title":"Response data when error","user":{"login":"sonelliot","id":719215,"avatar_url":"https://avatars.githubusercontent.com/u/719215?v=3","gravatar_id":"","url":"https://api.github.com/users/sonelliot","html_url":"https://github.com/sonelliot","followers_url":"https://api.github.com/users/sonelliot/followers","following_url":"https://api.github.com/users/sonelliot/following{/other_user}","gists_url":"https://api.github.com/users/sonelliot/gists{/gist_id}","starred_url":"https://api.github.com/users/sonelliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonelliot/subscriptions","organizations_url":"https://api.github.com/users/sonelliot/orgs","repos_url":"https://api.github.com/users/sonelliot/repos","events_url":"https://api.github.com/users/sonelliot/events{/privacy}","received_events_url":"https://api.github.com/users/sonelliot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-06-26T11:13:03Z","updated_at":"2015-08-27T05:21:34Z","closed_at":null,"body":"I am experimenting with ```request``` by making queries to CouchDB:\r\n\r\n```lisp\r\n(request-response-data\r\n (request\r\n  \"http://127.0.0.1:5984/albums\"\r\n  :type \"PUT\"\r\n  :parser 'json-read\r\n  :sync 'yes))\r\n```\r\n\r\nThis will respond with ```((ok . t))``` the first time and then ```nil``` afterwards because the database already exists. CouchDB raises a 412 error but also returns some JSON:\r\n\r\n```js\r\n{\r\n  \"error\" : \"file_exists\",\r\n  \"reason\" : \"The database could not be created, the file already exists.\"\r\n}\r\n```\r\n\r\nDo you know if I can access this error data with ```request```?"},"comment":{"url":"https://api.github.com/repos/tkf/emacs-request/issues/comments/135295472","html_url":"https://github.com/tkf/emacs-request/issues/16#issuecomment-135295472","issue_url":"https://api.github.com/repos/tkf/emacs-request/issues/16","id":135295472,"user":{"login":"abingham","id":79224,"avatar_url":"https://avatars.githubusercontent.com/u/79224?v=3","gravatar_id":"","url":"https://api.github.com/users/abingham","html_url":"https://github.com/abingham","followers_url":"https://api.github.com/users/abingham/followers","following_url":"https://api.github.com/users/abingham/following{/other_user}","gists_url":"https://api.github.com/users/abingham/gists{/gist_id}","starred_url":"https://api.github.com/users/abingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abingham/subscriptions","organizations_url":"https://api.github.com/users/abingham/orgs","repos_url":"https://api.github.com/users/abingham/repos","events_url":"https://api.github.com/users/abingham/events{/privacy}","received_events_url":"https://api.github.com/users/abingham/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T05:21:34Z","updated_at":"2015-08-27T05:21:34Z","body":"I've [asked @purcell about this before](https://github.com/milkypostman/melpa/issues/1994), and his view was that @tkf was probably too busy to bother with us, so we would have to deal with it somehow. "}}