+pro,hco,par Make sure that things build on both 2.10 and 2.11
This commit is contained in:
parent
8ff980c693
commit
e32ba9c54a
12 changed files with 450 additions and 20 deletions
|
|
@ -64,7 +64,7 @@ class HttpServerExampleSpec
|
|||
case HttpRequest(GET, Uri.Path("/"), _, _, _) ⇒
|
||||
HttpResponse(
|
||||
entity = HttpEntity(MediaTypes.`text/html`,
|
||||
<html><body>Hello world!</body></html>.toString))
|
||||
"<html><body>Hello world!</body></html>"))
|
||||
|
||||
case HttpRequest(GET, Uri.Path("/ping"), _, _, _) ⇒ HttpResponse(entity = "PONG!")
|
||||
case HttpRequest(GET, Uri.Path("/crash"), _, _, _) ⇒ sys.error("BOOM!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue