From 6d15adcc26999ec8ddf7af4926ea4675d8e2eb7c Mon Sep 17 00:00:00 2001 From: Mathias Date: Mon, 30 Mar 2015 11:01:35 +0200 Subject: [PATCH] =htc #17066 port new test from spray --- .../src/test/scala/akka/http/model/parser/HttpHeaderSpec.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/akka-http-core/src/test/scala/akka/http/model/parser/HttpHeaderSpec.scala b/akka-http-core/src/test/scala/akka/http/model/parser/HttpHeaderSpec.scala index 7191378df8..4b390ec854 100644 --- a/akka-http-core/src/test/scala/akka/http/model/parser/HttpHeaderSpec.scala +++ b/akka-http-core/src/test/scala/akka/http/model/parser/HttpHeaderSpec.scala @@ -252,6 +252,7 @@ class HttpHeaderSpec extends FreeSpec with Matchers { "Host: [2001:db8::1]:8080" =!= Host("[2001:db8::1]", 8080) "Host: [2001:db8::1]" =!= Host("[2001:db8::1]") "Host: [::FFFF:129.144.52.38]" =!= Host("[::FFFF:129.144.52.38]") + "Host: spray.io:80000" =!= ErrorInfo("Illegal HTTP header 'Host': requirement failed", "Illegal port: 80000") } "If-Match" in {