Merge pull request #20055 from ktoso/wip-headers-more-fancy-ktoso

=htp #20052 headerValueByType now works with custom headers
This commit is contained in:
Konrad Malawski 2016-03-22 15:13:22 +01:00
commit b3444fa1b0
10 changed files with 106 additions and 19 deletions

View file

@ -87,6 +87,7 @@ abstract class ModeledCustomHeaderCompanion[H <: ModeledCustomHeader[H]] {
case _ None
}
final implicit val implicitlyLocatableCompanion: ModeledCustomHeaderCompanion[H] = this
}
/**

View file

@ -380,7 +380,6 @@ class HttpExtensionApiSpec extends WordSpec with Matchers with BeforeAndAfterAll
"create an outgoing connection (with 6 parameters)" in {
val (host, port, binding) = runServer()
println("host = " + host)
val flow = http.outgoingConnection(
toHost(host, port),
Optional.empty(),