Created
October 27, 2011 13:18
-
-
Save jestan/1319512 to your computer and use it in GitHub Desktop.
Dispatch Https
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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