scala> import rapture._
import rapture._
scala> import core._, io._, net._, uri._, codec._
import core._
import io._
import net._
import uri._
import codec._
scala> import encodings.`UTF-8`
import encodings.UTF$minus8
scala> import modes.throwExceptions
import modes.throwExceptions
scala> val url = uri"http://localhost:49153"url: rapture.net.HttpUrl = http://localhost:49153/
scala> url.slurp[Char]res0: String = "{"couchdb":"Welcome","version":"1.2.0"}"
scala> (url / "_all_dbs").slurp[Char] // this is adding an extra slash :(java.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:49153//_all_dbs...
scala> uri"http://localhost:49153/test".post("""{"hello": "world"}""")<console>:28: error: an implicit TimeSystem is required; please import timeSystems.numeric or timeSystems.javaUtilError occurred in an application involving default arguments. uri"http://localhost:49153/test".post("""{"hello": "world"}""")
scala> import timeSystems.numericimport timeSystems.numeric
scala> uri"http://localhost:49153/test".post("""{"hello": "world"}""")<console>:29: error: an implicit TimeSystem is required; please import timeSystems.numeric or timeSystems.javaUtilError occurred in an application involving default arguments. uri"http://localhost:49153/test".post("""{"hello": "world"}""") ^scala> implicit val ts = timeSystems.numericts: rapture.core.TimeSystem[Long,Long] = rapture.core.timeSystems$$anon$1@1b85bc73
scala> uri"http://localhost:49153/test".post("""{"hello": "world"}""")<console>:30: error: an implicit TimeSystem is required; please import timeSystems.numeric or timeSystems.javaUtilError occurred in an application involving default arguments. uri"http://localhost:49153/test".post("""{"hello": "world"}""") ^... :(--
You received this message because you are subscribed to the Google Groups "Rapture users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapture-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Rapture users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rapture-users/dh6TvwrPQl4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rapture-user...@googlegroups.com.