Skip to content

Instantly share code, notes, and snippets.

@jestan
Created October 27, 2011 13:18
Show Gist options
  • Save jestan/1319512 to your computer and use it in GitHub Desktop.
Save jestan/1319512 to your computer and use it in GitHub Desktop.
Dispatch Https
import dispatch._
import Http._
val https = new Http with HttpsLeniency
val secureHost = (:/("localhost", 443)).secure
val resp = https(secureHost / "search" as_str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment