Forward port of the content encoding fix.
Forward port of the content encoding fix.

svn path=/trunk/kdepim/; revision=376266

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi