Merge pull request #17092 from spray/wip-17066-mathias

=htc #17066 port new test from spray
This commit is contained in:
Konrad Malawski 2015-03-31 16:16:14 +02:00
commit 5cbd7c0bf4

View file

@ -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 {