akka/akka-http

Provide support for Forwarded Header

Open

#1377 aperta il 22 ago 2017

Vedi su GitHub
 (4 commenti) (4 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhackathonhelp wantedt:core

Metriche repository

Star
 (1311 star)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

Currently, Akka HTTP doesn't support the standard header Forwarded, but only one of the de-facto standard X-Forwarded-For header that is only part of the standard Forwarded.

It would be good to add support for Forwarded header as described in https://tools.ietf.org/html/rfc7239

Additionally, it might be also good to implement X-Forwarded-Proto and X-Forwarded-Host:

Headers added

  • X-Forwarded-Proto and X-Forwarded-Host
  • Forwarded

Guida contributor