0

spray.io私はHTTPリクエストを処理するために使用します。それに応じて、削除したいスプレー フレームワークに関する情報があります。"Server: spray-can/1.3.3"では、応答ヘッダーから削除する方法はspray?

4

1 に答える 1

4

You can set this via application.conf:

spray.can {

  server {
    # The value of the `Server` header to produce.
    # Set to the empty string to disable rendering of the server header.
    server-header = spray-can/${spray.version}
  }
}
于 2016-04-14T10:44:53.943 に答える