Re: [akka-user] [Akka-HTTP] Request for comment - Post render regex modifier

2016-09-19 Thread Derek Wyatt
f, should be of good > benefit to everyone :) > > -- > Konrad `ktoso` Malawski > Akka <http://akka.io> @ Lightbend <http://lightbend.com> > > On 19 September 2016 at 11:46:58, Derek Wyatt (de...@derekwyatt.org > ) wrote: > > Hi folks, > > I've been wrestling w

[akka-user] [Akka-HTTP] Request for comment - Post render regex modifier

2016-09-19 Thread Derek Wyatt
Hi folks, I've been wrestling with a bug in IIS (see https://groups.google.com/d/msg/akka-user/7iW5-HlshZk/S75Wgxg_AwAJ). It seems that I'm going to have to deal with the problem myself, because either IIS can't be fixed or the guys I'm dealing with aren't willing to try. And, at any rate,

Re: [akka-user] [Akka-HTTP] How do I not specify the charset?

2016-09-13 Thread Derek Wyatt
with the rendering a little bit (i.e. the MediaType is rendered, and then the charset is rendered), but would you guys consider a PR with that change? On Tuesday, September 13, 2016 at 1:37:39 PM UTC-4, Derek Wyatt wrote: > > I'm not arguing that Akka is doing the wrong thing. > > But

Re: [akka-user] [Akka-HTTP] How do I not specify the charset?

2016-09-13 Thread Derek Wyatt
labeled > with an appropriate charset value. See section 3.4.1 > <https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.4.1> for > compatibility problems." > > https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 > > -- > Cheers, > √ > &

[akka-user] Re: [Akka-HTTP] How do I not specify the charset?

2016-09-13 Thread Derek Wyatt
should do that. Is there any way to get at the raw HTTP request so I can inspect it? I think I need to see exactly how the client created it in the first place. On Tuesday, September 13, 2016 at 12:58:15 PM UTC-4, Derek Wyatt wrote: > > Hi guys, > > I've written a reverse-proxy wi

[akka-user] [Akka-HTTP] How do I not specify the charset?

2016-09-13 Thread Derek Wyatt
Hi guys, I've written a reverse-proxy with Akka-HTTP and I'm hitting a problem while trying to interact with an ASP.NET app. The only interesting thing I can see is that without the proxy, the Content-Type is lacking a charset but the proxy adds charset=UTF-8. I can't find a way to replicate

[akka-user] [Akka-HTTP] How do I drop the connection from the Server?

2016-08-18 Thread Derek Wyatt
Hi guys, A client connects, and I don't like him. I don't want to respond to him at all; I just want to disconnect him entirely. I'm using the high level routing DSL and I've read some things about cancelling the HTTPResponse Entity's stream, but that doesn't seem to be dropping the

Re: [akka-user] Stream Testkit expectNextType ?

2016-04-10 Thread Derek Wyatt
Alright. I'll play around with these over the next few days and send you a PR. On Fri, Apr 8, 2016 at 12:12 PM Patrik Nordwall <patrik.nordw...@gmail.com> wrote: > Hi Derek, > Sounds like a great addition. Will you take a stab at it? > /Patrik > > On Thu, Apr 7, 2016 at 9:5

[akka-user] Stream Testkit expectNextType ?

2016-04-07 Thread Derek Wyatt
Hi guys, I've been writing some tests for my stream code and have run up against a situation where I would like to have expectNextType. I've implemented this myself with a pimp, but I'm wondering if there's a better way? implicit class ProbeExtension[T](val p: Probe[T]) { def

Re: [akka-user] [akka-streams] Consuming on TCP server side - is this really the best way?

2015-07-29 Thread Derek Wyatt
silently ignores overflows (I was lazy to build a stage or use fold for this sample, so I used grouped()) -Endre On Sun, Jul 26, 2015 at 9:12 PM, Derek Wyatt de...@derekwyatt.org mailto:de...@derekwyatt.org wrote: Hi, I'm still trying to figure out the best way to work with TCP flows and, while

[akka-user] [akka-streams] Consuming on TCP server side - is this really the best way?

2015-07-26 Thread Derek Wyatt
Hi, I'm still trying to figure out the best way to work with TCP flows and, while I've got something working, this seems really quite wrong, so there's gotta be a better way. What I want to do is send an Iterable[Int] from the client to the server and have the server materialize that

[akka-user] [Akka-Streams] Dynamic Fan-In and Fan-Out?

2015-07-10 Thread Derek Wyatt
Howdie, I'm wondering if it's possible to implement my use case and what the best implementation of that might look like. I'd like to have a bi-directional set of channel messages chunked independently and multiplexed across a TCP connection. Something that looks like this:

Re: [akka-user] Re: How can I reconcile untyped actors with typeful programming?

2014-03-08 Thread Derek Wyatt
them as you progress. When you do, focusing on those (should you still believe them to be worth it) might be the far better option. Thanks! On Sat, Mar 8, 2014 at 7:51 PM, Derek Wyatt de...@derekwyatt.org wrote: What you're experiencing is a trade-off. Actors provide a trade-off that you