Bug 277452 - Akregator feed parser fails on gzip'ed XML
Summary: Akregator feed parser fails on gzip'ed XML
Status: RESOLVED NOT A BUG
Alias: None
Product: akregator
Classification: Applications
Component: feed parser (show other bugs)
Version: 4.7 pre
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-10 06:53 UTC by Mykola Krachkovsky
Modified: 2011-12-23 07:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
gzipped rss (3.75 KB, application/octet-stream)
2011-10-05 03:35 UTC, Mykola Krachkovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mykola Krachkovsky 2011-07-10 06:53:29 UTC
Version:           4.7 pre (using Devel) 
OS:                Linux

Akregator say's XML is invalid on gzip'ed feeds, e.g. http://www.kde.org/dotkdeorg.rdf

Reproducible: Always

Steps to Reproduce:
Add RSS feed, which is gzipped, like http://www.kde.org/dotkdeorg.rdf

Actual Results:  
Invalid XML

Expected Results:  
Parse unpacked XML, not deflated byte sequnce
Comment 1 Frank Osterfeld 2011-08-11 19:12:45 UTC
I don't that feed zipped - and it works here. Do you have another example?
Comment 2 Frank Osterfeld 2011-08-11 20:10:13 UTC
(In reply to comment #1)
> I don't that feed zipped - and it works here. Do you have another example?

"I don't _see_ that feed"
Comment 3 Mykola Krachkovsky 2011-10-04 10:15:48 UTC
Well, now it works again! :)
http://www.kde.org/dotkdeorg.rdf works but returns gzipped xml
Comment 4 Mykola Krachkovsky 2011-10-04 10:16:22 UTC
So, now you can see the bug.
Comment 5 Mykola Krachkovsky 2011-10-05 03:35:19 UTC
Created attachment 64224 [details]
gzipped rss
Comment 6 Mykola Krachkovsky 2011-10-05 03:37:04 UTC
I've added attachment with gzipped rss (got with wget). And headers (wget -S) are:

HTTP/1.1 200 OK
Server: Apache/2.2.16 (Debian)
Last-Modified: Wed, 05 Oct 2011 02:55:01 GMT
ETag: "9cdc5a-f02-4ae84558c0b40"
Cache-Control: max-age=28800
Expires: Wed, 05 Oct 2011 11:30:36 GMT
Content-Type: application/rdf+xml
Content-Length: 3842
Date: Wed, 05 Oct 2011 03:32:10 GMT
X-Varnish: 1901687777 1901685741
Age: 94
Via: 1.1 varnish
Connection: keep-alive
Comment 7 Ben Cooksley 2011-10-11 09:03:20 UTC
This is actually a Varnish bug (or a bug in our VCL for the Dot server) from what I can tell. I have now tweaked it on the Dot server.

This isn't a Akregator bug - if the web server is sending it gzipped, it should say so (and it isn't in this case).