Closed paulrd closed 9 years ago
Oh nevermind, I wasn't using *1 properly. It has to be a response map - obviously! But there is still the strange issue of getting a nil body for github.com while google.ca works just fine. Perhaps there is something strange about github. It seems to be returning status :code 301 :msg "moved permanently" and :body of nil. In any case, you might want to put a different example in the getting started doc, or advise. Thanks!
Haha! I found the problem. The getting started guide needs to change the github url from 'http://' to 'https://'! Then it works as advertised. :-/
Thanks Paul!
I using http.async.client 0.6.0 with clojure 1.7. I get the following error when I execute this code (returns nil):
(http/error *1):
Problem seems to be with http/string as leaving that call out makes things ok.