akka/akka-http

HttpHeader.parse can only use default settings

開放

#1,265 建立於 2017年7月4日

 (6 則留言) (0 個反應) (0 位負責人)Scala (598 個分叉)batch import
1 - triagedhelp wantedplay-akka-http-integrationt:core

倉庫指標

星標
 (1,311 顆星)
PR 合併指標
 (平均合併 1天 10小時) (30 天內合併 2 個 PR)

描述

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.

貢獻者指南