akka/akka-http

Provide support for Forwarded Header

Open

#1,377 opened on Aug 22, 2017

View on GitHub
 (4 comments) (4 reactions) (0 assignees)Scala (598 forks)batch import
1 - triagedhackathonhelp wantedt:core

Repository metrics

Stars
 (1,311 stars)
PR merge metrics
 (Avg merge 1d 10h) (2 merged PRs in 30d)

Description

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

Contributor guide