Crap, sorry Konrad.  Will do.

On Monday, September 19, 2016 at 2:53:59 PM UTC-4, Konrad Malawski wrote:
>
> Hi Derek, 
> could you re-post this on github.com/akka/akka-http?
> I want to have a look but having a very chaotic week - it'd help me/us to 
> have it as ticket - easier to find and come back to it than on akka-user.
>
> I think we should be able to help in some way or another if servers are 
> doing "weird stuff",
> I have not yet reviewed your proposal though, so let's see.
>
> Thanks for attempting to solve it in Akka itself, 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 
> <javascript:>) wrote:
>
> 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, since I've used Akka HTTP to build a Reverse HTTP 
> Proxy, I'm sure I'm going to have to deal with oddities as part of every 
> day life so an enhancement as the one I'm proposing is vital to my success.
>
> As such, I've thrown together a simple (and highly inelegant at the 
> moment) mechanism for being able to rewrite the Content-Type header after 
> rendering, as this is the header that is currently causing me problems.
>
> I'd very much appreciate someone taking a look at it and critique the 
> approach.  I tried a number of ways of shoehorning this feature into the 
> code, implicits on the render method, a template-method pattern for wiring 
> in a user-defined transformer and they were all pretty cumbersome.  This 
> was the "simplest" method I could find for the moment.
>
> I don't have any default values for the arguments because I wanted to make 
> sure I was able to write it up properly all the way through.
>
> Does anyone think this idea (once cleaned and made "proper") could be 
> accepted as a PR?  I'm still working on it a fair bit because I've got to 
> get something into production that will allow me to work around the IIS 
> problem, but I expect the essence is there.
>
>
> https://github.com/derekwyatt/akka/commit/1b279bc426be352a1d204e45e855451acaac58e3
>
> Thanks,
> Derek
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: 
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to akka-user+...@googlegroups.com <javascript:>.
> To post to this group, send email to akka...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to