{"action":"closed","issue":{"url":"https://api.github.com/repos/cch1/http.async.client/issues/20","labels_url":"https://api.github.com/repos/cch1/http.async.client/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/cch1/http.async.client/issues/20/comments","events_url":"https://api.github.com/repos/cch1/http.async.client/issues/20/events","html_url":"https://github.com/cch1/http.async.client/issues/20","id":1408483,"number":20,"title":"Implementing PROPFIND","user":{"login":"ronslow","id":835136,"avatar_url":"https://avatars.githubusercontent.com/u/835136?v=3","gravatar_id":"","url":"https://api.github.com/users/ronslow","html_url":"https://github.com/ronslow","followers_url":"https://api.github.com/users/ronslow/followers","following_url":"https://api.github.com/users/ronslow/following{/other_user}","gists_url":"https://api.github.com/users/ronslow/gists{/gist_id}","starred_url":"https://api.github.com/users/ronslow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronslow/subscriptions","organizations_url":"https://api.github.com/users/ronslow/orgs","repos_url":"https://api.github.com/users/ronslow/repos","events_url":"https://api.github.com/users/ronslow/events{/privacy}","received_events_url":"https://api.github.com/users/ronslow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2011-08-15T15:52:48Z","updated_at":"2015-06-24T21:02:34Z","closed_at":"2015-06-24T21:02:34Z","body":"Fantastic library. Thanks.\r\n\r\nHow would I extend to the PROPFIND method.\r\n\r\nI am thinking along the lines of\r\n\r\n(gen-method :propfind)\r\n\r\n(def client (create-client client :auth {:user \"user\" :password \"password\"}))\r\n\r\n(def body-string  \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\" ?>\r\n   <D:propfind xmlns:D=\\\"DAV:\\\">\r\n     <D:prop>\r\n          <displayname/>\r\n         \r\n     </D:prop>\r\n   </D:propfind>\")\r\n\r\n(ignore GITHub's reformatting here - this is a propfind xml query in the body of the request)\r\n\r\n(PROPFIND client \"http://someurle.com/something\" :headers {:content-type \"text/xml\"} :body body-string)\r\n\r\nBut I am getting NPE at  com.ning.http.client.RequestBuilderBase.allowBody(RequestBuilderBase.java:564)\r\nbecause the request has got no method associated with it.\r\n\r\nCould you help me with this?\r\n\r\nThanks\r\n\r\nRobert"}}