akka/akka-http
Timeout-Access header always contains incorrect value "<function1>"
開放
#64 建立於 2016年9月8日
1 - triagedhelp wantednice-to-have (low-prio)
倉庫指標
- 星標
- (1,311 顆星)
- PR 合併指標
- (平均合併 1天 10小時) (30 天內合併 2 個 PR)
描述
Issue by nartamonov Tuesday Mar 22, 2016 at 16:00 GMT Originally opened as https://github.com/akka/akka/issues/20120
Following path returns response "Timeout-Access = ":
path("test") {
get {
optionalHeaderValueByName("Timeout-Access") { timeout =>
complete(s"Timeout-Access = ${timeout.get}")
}
}
}
It's because TimeoutAccessImpl does not override toString which inherited by default from scala.Function1.