August 22, 2014
Maybe a trivial question: How do I use "preWriteCallback" properly? It doesn't work properly for me yet (I might not see the forest for the trees at the moment). I am trying to set a field in the HTTPServerResponse.

http://vibed.org/api/vibe.http.fileserver/HTTPFileServerSettings.preWriteCallback
August 22, 2014
On Friday, 22 August 2014 at 13:58:02 UTC, Chris wrote:
> Maybe a trivial question: How do I use "preWriteCallback" properly? It doesn't work properly for me yet (I might not see the forest for the trees at the moment). I am trying to set a field in the HTTPServerResponse.
>
> http://vibed.org/api/vibe.http.fileserver/HTTPFileServerSettings.preWriteCallback

Just got it working, sorry! I overlooked the toDelegate(&myDelegate) function. Mea maxima culpa!