{"action":"opened","issue":{"number":12,"created_at":"2011-10-17T01:21:26Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"When I'm debugging a request that's getting a 400 Bad Request header, or a 401 Authorization Required from the server, it's really helpful to actually be able to read the response body, or view the headers being sent to the server, so I can debug what's wrong with the query. I know clj-http is a wrapper on top of an Apache library, but I can't figure out how to get the response body on a 400 bad request through the clj-http interface. \r\n\r\nI'd appreciate some help; I'm new to Clojure, I've never used this library before and a similar POST request using curl is working fine.","comments":0,"title":"Better error messages for bad requests","updated_at":"2011-10-17T01:21:26Z","url":"https://api.github.com/repos/dakrone/clj-http/issues/12","id":1924187,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"4998db4ee0a7afdcd1f5d92658af63b4","avatar_url":"https://secure.gravatar.com/avatar/4998db4ee0a7afdcd1f5d92658af63b4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/kevinburke","id":234019,"login":"kevinburke"},"html_url":"https://github.com/dakrone/clj-http/issues/12","labels":[],"state":"open"},"legacy":{"number":12,"action":"opened","issue":1924187}}