wix-incubator/wix-http-testkit

add testkit headers

Closed this issue · 2 comments

client should add client-http-testkit and proper version
server should add server-http-testkit and proper version

generate version info using sbt plugin: https://github.com/sbt/sbt-buildinfo

server can override using: .withServerHeader(Some(Server(ProductVersion("server-http-testkit", "0.1.1"))))
client can override using .withUserAgentHeader(Some(`User-Agent`(ProductVersion("http-testkit", "0.1.1")))))

implemented