|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[vwnc] [7.6][BUG] HttpEntity>>decompressedContents does not match 'x-gzip'... corrected (?) method should read,
decompressedContents | ce | ce := self contentEncoding. ^(ce notNil and: ['*gzip*' match: ce]) ifTrue: [self body decompressedContents] ifFalse: [self decodedContents] Cheers, -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4 boris@... CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. _______________________________________________ vwnc mailing list vwnc@... http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
|
|
Re: [vwnc] [7.6][BUG] HttpEntity>>decompressedContents does not match 'x-gzip'It also appears that the protocol is slightly duplicated, but broken in
the same way, decodedContents | ce | ^((ce := self contentEncoding) notNil and: ['gzip' match: ce ]) ifTrue: [(self body decompressedContents withEncoding: self charset) readStream contents] ifFalse: [self decodedContentsWith: self charset ] decompressedContents | ce | ce := self contentEncoding. ^(ce notNil and: ['gzip' match: ce ]) ifTrue: [self body decompressedContents] ifFalse: [self decodedContents] Clarity, anyone? -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4 boris@... CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. > -----Original Message----- > From: Boris Popov > Sent: Monday, May 12, 2008 2:42 PM > To: VWNC > Subject: [7.6][BUG] HttpEntity>>decompressedContents does not match 'x- > gzip' > > ... corrected (?) method should read, > > decompressedContents > | ce | > ce := self contentEncoding. > ^(ce notNil and: ['*gzip*' match: ce]) > ifTrue: [self body decompressedContents] > ifFalse: [self decodedContents] > > Cheers, > > -Boris > > -- > +1.604.689.0322 > DeepCove Labs Ltd. > 4th floor 595 Howe Street > Vancouver, Canada V6C 2T5 > http://tinyurl.com/r7uw4 > > boris@... > > CONFIDENTIALITY NOTICE > > This email is intended only for the persons named in the message > header. Unless otherwise indicated, it contains information that is > private and confidential. If you have received it in error, please > notify the sender and delete the entire message including any > attachments. > > Thank you. _______________________________________________ vwnc mailing list vwnc@... http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
|
|
Re: [vwnc] [7.6][BUG] HttpEntity>>decompressedContents does not match 'x-gzip'... and searching for 'gzip' really sent my head spinning,
HttpEntity>>contents HttpEntity>>decodedByteContentsStream HttpEntity>>decodedContents HttpEntity>>decompressedContents HttpEntity>>isTransferEncodingGZip TransferEncoding>>isGZipped -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4 boris@... CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. > -----Original Message----- > From: Boris Popov > Sent: Monday, May 12, 2008 3:08 PM > To: 'VWNC' > Subject: RE: [7.6][BUG] HttpEntity>>decompressedContents does not match > 'x-gzip' > > It also appears that the protocol is slightly duplicated, but broken in > the same way, > > decodedContents > | ce | > ^((ce := self contentEncoding) notNil and: ['gzip' match: ce ]) > ifTrue: [(self body decompressedContents withEncoding: self charset) > readStream contents] > ifFalse: [self decodedContentsWith: self charset ] > > decompressedContents > | ce | > ce := self contentEncoding. > ^(ce notNil and: ['gzip' match: ce ]) > ifTrue: [self body decompressedContents] > ifFalse: [self decodedContents] > > Clarity, anyone? > > -Boris > > -- > +1.604.689.0322 > DeepCove Labs Ltd. > 4th floor 595 Howe Street > Vancouver, Canada V6C 2T5 > http://tinyurl.com/r7uw4 > > boris@... > > CONFIDENTIALITY NOTICE > > This email is intended only for the persons named in the message > header. Unless otherwise indicated, it contains information that is > private and confidential. If you have received it in error, please > notify the sender and delete the entire message including any > attachments. > > Thank you. > > > -----Original Message----- > > From: Boris Popov > > Sent: Monday, May 12, 2008 2:42 PM > > To: VWNC > > Subject: [7.6][BUG] HttpEntity>>decompressedContents does not match > > gzip' > > > > ... corrected (?) method should read, > > > > decompressedContents > > | ce | > > ce := self contentEncoding. > > ^(ce notNil and: ['*gzip*' match: ce]) > > ifTrue: [self body decompressedContents] > > ifFalse: [self decodedContents] > > > > Cheers, > > > > -Boris > > > > -- > > +1.604.689.0322 > > DeepCove Labs Ltd. > > 4th floor 595 Howe Street > > Vancouver, Canada V6C 2T5 > > http://tinyurl.com/r7uw4 > > > > boris@... > > > > CONFIDENTIALITY NOTICE > > > > This email is intended only for the persons named in the message > > header. Unless otherwise indicated, it contains information that is > > private and confidential. If you have received it in error, please > > notify the sender and delete the entire message including any > > attachments. > > > > Thank you. _______________________________________________ vwnc mailing list vwnc@... http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
| Free Forum Powered by Nabble | Forum Help |