views:

45

answers:

1

Are there any Clojure http libraries that use the java.net.URLConnection class? Reason I'm asking is because that's the only accepted way to make http connections on Google App Engine, according to the docs.

I'm currently using com.twinql.clojure.http for my GET requests, but I don't think that uses the right interface because I'm getting this error on making the connection:

java.security.AccessControlException: access denied (java.net.SocketPermission www.googleapis.com resolve)
+1  A: 

clojure.contrib.http.agent seems to do the trick.

*thanks to LauJensen on #clojure

yayitswei