import dispatch._
val h = new Http
val req = url(url).as_!(username, password)
val handler = req << (payload, "application/xml") >:> identity
handler.apply {
case (200, _, Some(entity), _) =>
我想用scala和調度庫做一個HTTPS的帖子。我無法找到將連接標記爲https而不是http的位置。這裏是我到目前爲止的代碼 println("Running Test")
val http = new Http
val req = :/("www.example.com" , 443)/"full/path.asp"
var response: NodeSeq = Text("")
h