akka/akka-http

Injected 503 response is not available to inner/outer routes.

オープン

#1,085 opened on 2017/05/03

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (598 件のフォーク)batch import
1 - triagedhelp wantedt:docst:routingt:server

Repository metrics

Stars
 (1,311 個のスター)
PR merge metrics
 (平均マージ 1d 10h) (30d で 2 merged PRs)

説明

Given route definition as follows:

    addTraceHeaderIfMissing {
      logHttpRequest {
        logHttpResponse {
          withRequestTimeoutResponse(handleTimeoutResponse) {
            logHttpResponse {
              Route.seal(routes)
            }
          }
        }
      }
    }

Where logHttpResponse is implemented with mapResponse directive, both logHttpResponse calls log 200 OK response if service timeout is reached.

Any clues? Am I missing something? Many thanks!

コントリビューターガイド