« Return to Thread: [vwnc] [7.6][BUG] HttpEntity>>decompressedContents does not match 'x-gzip'

[vwnc] [7.6][BUG] HttpEntity>>decompressedContents does not match 'x-gzip'

by Boris Popov-2 :: Rate this Message:

Reply to Author | View in Thread

... 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

 « Return to Thread: [vwnc] [7.6][BUG] HttpEntity>>decompressedContents does not match 'x-gzip'

LightInTheBox - Buy quality products at wholesale price