akka/akka-http

HttpHeader.parse can only use default settings

オープン

#1,265 opened on 2017/07/04

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (598 件のフォーク)batch import
1 - triagedhelp wantedplay-akka-http-integrationt:core

Repository metrics

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

説明

Currently when using HttpHeader.parse manually there is no way to override the Settings, since they are private.

Actually Play is using it to encode response headers: https://github.com/playframework/playframework/blob/master/framework/src/play-akka-http-server/src/main/scala/play/core/server/akkahttp/AkkaModelConversion.scala#L276

It would be great if there was a public way on overriding them, even a typesafe Config object would be fine.

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