Hi,
What about other custom headers: X-Forwarded-For, SOAPAction, etc? How can
I add them to the request?
W dniu czwartek, 8 stycznia 2015 09:26:11 UTC+1 użytkownik André napisał:
Hi Marcin,
the user agent string is a config property and configured here
The RequestBuilding trait is currently only used in tests.
you can use the methods on HttpMessage with RawHeaders instead:
HttpRequest(GET, /some/address.json)
.withHeaders(
RawHeader(X-Forwarded-For, ...),
RawHeader(SOAPAction, ...),
...)
On Wednesday, January 21, 2015 at
Thanks.
W dniu środa, 21 stycznia 2015 13:18:37 UTC+1 użytkownik André napisał:
The RequestBuilding trait is currently only used in tests.
you can use the methods on HttpMessage with RawHeaders instead:
HttpRequest(GET, /some/address.json)
.withHeaders(
RawHeader(X-Forwarded-For,
Hi Marcin,
the user agent string is a config property and configured here
https://github.com/akka/akka/blob/release-2.3-dev/akka-http-core/src/main/resources/reference.conf#L69-L73
.
Cheers
André
On Wednesday, January 7, 2015 9:14:23 PM UTC+1, Marcin Gosk wrote:
Hey guys, is it possible to