Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-12-10 Thread brian -
Yes, including it in the project source is enough, but maybe this should be clearly noted somewhere for other devs, as by default you'd think just setting the Options should be enough. On Mon, Dec 10, 2012 at 7:48 PM, Maurizio Lotauro wrote: > Scrive brian - : > > > This seems to be finally fixed

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-12-10 Thread Maurizio Lotauro
Scrive brian - : > This seems to be finally fixed in the latest Daily/SVN, the data received > is transparently uncompressed etc. > > HOWEVER, there is a small issue, which isn't readily apparent unless you > check received data size etc: > > If you don't include OverbyteIcsHttpCCodZLib anywhere

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-12-09 Thread brian -
This seems to be finally fixed in the latest Daily/SVN, the data received is transparently uncompressed etc. HOWEVER, there is a small issue, which isn't readily apparent unless you check received data size etc: If you don't include OverbyteIcsHttpCCodZLib anywhere in your app, it won't be used a

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-10-08 Thread brian -
Hmm it may be an issue with the site then; the XML is part of an API used by some applications, I haven't see others have an issue with this however. >From my testing: - Using only gzip: the XML is not encoded but ICS think it is, therefore trying to decode non-encoded data, resulting in an error

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-10-08 Thread Angus Robertson - Magenta Systems Ltd
> Tested with this website http://myanimelist.net/malappinfo.php > > If I enable content encoding, then the data received isn't > compressed unless I add deflate. Found and fixed the bug in OverbyteIcsHttpContCod, it was parsing multiple encodings in the response header rather than the request h

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-10-08 Thread Angus Robertson - Magenta Systems Ltd
> Tested with this website http://myanimelist.net/malappinfo.php > > If I enable content encoding, then the data received isn't > compressed unless I add deflate. Whether the site compresses the data is not the issue, it's whether the ICS component can decompress anything with the change you pro

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-10-07 Thread brian -
Tested with this website http://myanimelist.net/malappinfo.php If I enable content encoding, then the data received isn't compressed unless I add deflate. On Sun, Oct 7, 2012 at 8:07 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > Please add the following modificatio

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-10-07 Thread Angus Robertson - Magenta Systems Ltd
> Please add the following modification to OverbyteIcsHttpCCodZLib, I > was sad to see it's not yet included in the last V8 :< > > class function THttpCCodzlib.GetCoding: String; > begin > Result := 'gzip, deflate'; > end; Have you actually tested this? If I make what seems to be a simple

[twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-10-04 Thread brian -
Please add the following modification to OverbyteIcsHttpCCodZLib, I was sad to see it's not yet included in the last V8 :< ( I reported this long ago ) class function THttpCCodzlib.GetCoding: String; begin Result := 'gzip, deflate'; end; The original code only has gzip, which fails to properl