Re: [twsocket] Setting additional Header fields depending on the mimetype in the HTTP Server

2011-12-12 Thread RTT
On 13-12-2011 00:16, Lars Gehre wrote: Overriding said function would mean, I would have to duplicate the code and with each update of ICS I would have to check all my projects for this overriden function. Not very practical. It's easier to change the ICS code once every update... What code are

Re: [twsocket] Setting additional Header fields depending on the mimetype in the HTTP Server

2011-12-12 Thread Lars Gehre
Well, I simply changed the source code and added a callback. It's normally not the way to go, but well, sometimes it's the easiest way. I'm talking about mostly "automatically" served files so calling senddocument is out of the question. Overriding said function would mean, I would have to duplic