Re: [akka-user] aakka-http: how to get encoded URI from a HTTP request?

2016-05-24 Thread Konrad Malawski
Enable it: # Enables/disables the addition of a `Raw-Request-URI` header holding the # original raw request URI as the client has sent it. akka.http.server.raw-request-uri-header = off and then you'll get a magic header which contains the raw URI in each request. I already wondered why they are

Re: [akka-user] aakka-http: how to get encoded URI from a HTTP request?

2016-05-24 Thread Simon Schäfer
On 05/24/2016 09:02 PM, Konrad Malawski wrote: Enable it: # Enables/disables the addition of a `Raw-Request-URI` header holding the # original raw request URI as the client has sent it. akka.http.server.raw-request-uri-header = off and then you'll get a magic header which contains the raw URI

[akka-user] aakka-http: how to get encoded URI from a HTTP request?

2016-05-24 Thread Simon Schäfer
Is it possible to get the encoded HTTP request that arrives at the server (as it is represented in the raw HTTP request)? akka.http.scaladsl.model.HttpRequest and akka.http.scaladsl.server.RequestContext seem to contain only the decoded URI. Can I have access to the raw HTTP request if nothing