Cheers
André
On Monday, October 31, 2016 at 11:26:44 PM UTC+1, sub...@gmail.com wrote:
>
> I'm interested in proxying http requests with akka-http. Based on what
> I've read so far I need to enable the configuration and then it should work
> with Http().singleRequest
> howeve
> The last comment there by 2beaucoup was exactly what I am asking here.
That's me BTW.
There's no reason one can't pick up on this with an issue/PR in
akka/akka-http. ;)
Cheers
André
On Tuesday, October 11, 2016 at 7:39:57 PM UTC+2, Richard Imaoka wrote:
>
> Thank you, I wa
n clarification in the documentation helps
> us more, which akka/akka-http#276
> <https://github.com/akka/akka-http/issues/276> is asking for. (will try
> to work on #276 if no one is picking it up yet)
>
> Thanks
>
> 2016年10月10日月曜日 17時23分00秒 UTC+9 André:
>>
>
ccess your query via the queryString() method and parse it youself.
HTH
André
On Sunday, October 9, 2016 at 6:38:34 PM UTC+2, Richard Imaoka wrote:
>
> Hi,
>
> While I tried to work on akka/akka-http#276
> <https://github.com/akka/akka-http/issues/276>, and looked at
>
Hi Richard!
See [1] for the discussion related to your question.
[1] https://github.com/akka/akka/pull/18715#discussion-diff-41831981
Cheers
André
On Sunday, October 9, 2016 at 6:49:23 PM UTC+2, Richard Imaoka wrote:
>
> Hi,
>
> While I was trying to work on akka/akka-http#2
ample.
[1] https://github.com/spray/spray/issues/803
[2]
https://github.com/akka/akka-http/blob/a6245b606eec7b8ba77a2dbc96cdc388de5450d6/akka-http-core/src/test/scala/akka/http/impl/engine/rendering/RequestRendererSpec.scala#L311-L319
Cheers
André
On Wednesday, September 28, 2016 at 3:30:51
Hi Srinaath,
does it work with
"https://example.com/customers/~/profiles/dj2bQryHPCj4IVrc48xTPD
hswk%2FqNWx LuUA0G2T6GLnyBVD6wC231IjgDBYJnt/preferences"
?
Akka should replace the spaces with a "+" while a "+" as input will get
encoded as "%2B".
H
Hi Derek,
to get an exact view of the raw incoming request I'd suggest to consult
Wireshark. Akka's logRequest directive can show slightly different/adapted
data.
HTH
André
On Tuesday, September 13, 2016 at 7:30:08 PM UTC+2, Derek Wyatt wrote:
>
> I was able to verify that this is br
Hi Barrett,
you can try
Http()
.singleRequest(...)
.map(_.entity.dataBytes.via(Gzip.decoderFlow))
HTH,
André
On Thursday, August 25, 2016 at 9:41:14 AM UTC+2, Barrett Kern wrote:
>
> Hello,
>
> I am consuming a 3rd party API that returns gzipped JSON. I So far I
> cannot
Maybe you can add your use case
to https://github.com/akka/akka/issues/16210.
On Tuesday, August 2, 2016 at 10:12:13 AM UTC+2, JY wrote:
>
> I am new with AKKA and AKKA HTTP.
>
> I have to write a HTTP server application that reads a lot very big XML
> data flows (via HTTP PUT method) and
Has some developed an akka stream based TCP server where connections is
kept open and frame delimited messages is pouring in, and is eventually
stored somewhere in a database? It seems to be such a simple pattern that i
am surprised to not find any examples for it. But maybe the world is not so
Hi,
you can create custom methods with HttpMethod.custom which you can then
provide to the constructor of HttpRequest.
HTH
André
On Friday, June 17, 2016 at 9:38:05 AM UTC+2, zhonglin wu wrote:
>
> Hi all:
> I' m using akka-http, there is a service provide the "query&quo
I think it's better to follow up on this in the ticket.
On Sunday, December 13, 2015 at 7:38:21 PM UTC+1, Devon Miller wrote:
>
> The recommendation from https://github.com/akka/akka/issues/19062 is to
> use a http Bidi to handle the rendering in a nice non-api exposing way. The
> idea is to
Hi Charlie,
I think FutureDirectives.onSuccess() is what you're after.
Cheers
André
On Thursday, December 10, 2015 at 6:24:33 PM UTC+1, Charlie Evans wrote:
>
> Hi all,
>
> I would like to handle exceptions using:
>
> implicit def myExceptionHandler: ExceptionHandler =
>
&
Oops, wrong list!
Just use .* (see
http://doc.akka.io/docs/akka-stream-and-http-experimental/2.0-M2/scala/http/routing-dsl/directives/form-field-directives/formFields.html)
HTH
André
On Tuesday, December 8, 2015 at 10:17:07 AM UTC+1, André wrote:
>
> Hi Jacobus,
>
> it's currently
Agreed that it would be nice to reuse
HttpRequestRendererFactory.renderToSource in this case.
Could you open a ticket?
Cheers
André
On Tuesday, December 1, 2015 at 7:01:03 AM UTC+1, Devon Miller wrote:
>
> I looked more into this issue and found that to get the request to fully
> re
eplace Source.single(...) with a Source that
wraps a sequence of your custom body parts (e.g. by mapping your requests).
HTH
André
On Monday, November 30, 2015 at 4:17:36 AM UTC+1, Devon Miller wrote:
>
> In order to satisfy some odata v4 "batch" protocol requirements, I need to
>
Hi Ricardo,
doesn't look like HttpsContext param is currently surfaced in the java
DSL's bindRoute.
This should be discussed in a ticket.
Cheers
André
On Thursday, November 12, 2015 at 6:57:38 PM UTC+1, Ricardo Silva wrote:
>
> Hello,
>
> is it possible to have a server ha
Hi Benoit,
you should take a look
at http://doc.akka.io/docs/akka/snapshot/java/futures.html#Future_is_a_Monad.
Mapper should solve your Problem.
Cheers
André
On Wednesday, November 11, 2015 at 12:01:05 PM UTC+1, Benoit Guillon wrote:
>
> Hi,
>
> I'm using akka http with Java
d here and was
recently fixed.
Cheers
André
On Wednesday, October 7, 2015 at 9:30:08 AM UTC+2, Daniel Bauer wrote:
>
> I'm using akka http to implement a REST service and that works fine except
> for one case. The HTTP message parser has a limit on the message size. This
> means that I cannot u
Hi Leon,
please see the discussion re. chunking here
https://github.com/akka/akka/pull/18144.
What's your use case?
Cheers,
André
On Tuesday, August 25, 2015 at 9:21:46 AM UTC+2, Leon Ma wrote:
Hi,
I have some general questions about akka-http:
1. Is there any concrete samples
. It
was only removed from the routing DSL.
HTH
André
On Tuesday, August 25, 2015 at 10:51:14 AM UTC+2, Leon Ma wrote:
Hi, André
Thanks for the quick response.
Actually I'm trying to do some prototyping to see how hard to migrate my
spray application into akka-http.
Here're my case:
I have
Hi Tomasz,
I think akka.http.ParserSettings.withCustomStatusCodes is what you're
looking for. Its spec is here
https://github.com/akka/akka/blob/release-2.3-dev/akka-http-core/src/test/scala/akka/http/impl/engine/parsing/ResponseParserSpec.scala#L60-L69
.
HTH
André
On Thursday, August 20
This
http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/java/http/should
get you started. The High-level Server-Side API
http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/java/http/routing-dsl/index.html
section covers the RESTy stuff.
Cheers
André
On Wednesday
I think the problem here is that we currently absolutize all requests (
code
https://github.com/akka/akka/blob/release-2.3-dev/akka-http-core/src/main/scala/akka/http/impl/engine/server/HttpServerBluePrint.scala#L71-L78
).
This will always fail with HTTP/1.0 request as they are always relative
Source (and edit button) are here
https://github.com/akka/akka/blob/release-2.3-dev/akka-docs-dev/rst/scala/http/client-side/request-level.rst.
;)
On Thursday, May 28, 2015 at 8:09:27 AM UTC+2, zergood wrote:
Mistake in docs
A quick search revealed some more places that needed fixing. PR submitted
https://github.com/akka/akka/pull/17594.
On Thursday, May 28, 2015 at 9:22:35 AM UTC+2, André wrote:
Source (and edit button) are here
https://github.com/akka/akka/blob/release-2.3-dev/akka-docs-dev/rst/scala/http
From https://tools.ietf.org/html/rfc7231#section-4.3.1:
A payload within a GET request message has no defined semantics;
sending a payload body on a GET request might cause some existing
implementations to reject the request.
(Some for HEAD/DELETE/CONNECT)
Perhaps we should relax this
Hi Kevin,
see
https://github.com/akka/akka/blob/release-2.3-dev/akka-http-core/src/main/scala/akka/http/model/HttpMessage.scala#L133
Cheers,
André
On Wednesday, April 15, 2015 at 4:51:33 AM UTC+2, Kevin Meredith wrote:
There's a Github issue, titled, 500 ISE for Client Side Error -
https
:24 PM UTC+1, Grzegorz Wilkowicz
wrote:
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
/server/directives/MarshallingDirectivesSpec.scala#L103-L117for
examples.
Cheers
André
On Tuesday, January 20, 2015 at 2:14:49 PM UTC+1, Allan Brighton wrote:
Hi Roland,
I wasn't sure how to use the new streaming APIs from the spray DSL, so I
used the akka-http core API instead
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
Hi Jo,
as Björn and Mathias exlained there's no need to set the Content-Type
explicitly. Just import ScalaXmlSupport and complete with a NodeSeq (example
https://github.com/akka/akka/blob/release-2.3-dev/akka-http-tests/src/test/scala/akka/http/server/TestServer.scala)
or alternatively
Hello everybody!
I am a n00b to Akka. I am trying to add some instrumentation code to an
application. I use Soot for doing the code transformation, and Akka for the
communications.
I have to instrument both a client and a server that communicate with each
other. When running tests, I found
34 matches
Mail list logo