[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#736382: marked as done (UDD: RSS feed of DMD contains content-type header in body, hence fails to be parsed)



Your message dated Thu, 23 Jan 2014 23:00:16 +0100
with message-id <20140123220016.GO27889@sym.noone.org>
and subject line Re: Bug#736382: UDD: RSS feed of DMD contains content-type header in body, hence fails to be parsed
has caused the Debian Bug report #736382,
regarding UDD: RSS feed of DMD contains content-type header in body, hence fails to be parsed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
736382: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736382
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qa.debian.org
User: qa.debian.org@packages.debian.org
Usertags: udd

Hi,

this is a kinda follow-up to http://www.lucas-nussbaum.net/blog/?p=805

I tried to use http://udd.debian.org/dmd/feed/?email1=abe@debian.org
in Liferea, but Liferea throws parse errors, because there seem to be
a blank line in the http headers (or parts of the header in the body,
depending on the viewpoint :-):

$ GET -SUse http://udd.debian.org/dmd/feed/\?email1\=abe@debian.org | head -20 | cat -n
     1  GET http://udd.debian.org/dmd/feed/?email1=abe@debian.org
     2  User-Agent: lwp-request/6.03 libwww-perl/6.05
     3  
     4  200 OK
     5  Connection: close
     6  Date: Wed, 22 Jan 2014 23:35:26 GMT
     7  Server: Apache
     8  Vary: Accept-Encoding
     9  Content-Type: text/html
    10  Client-Date: Wed, 22 Jan 2014 23:35:28 GMT
    11  Client-Peer: 206.12.19.141:80
    12  Client-Response-Num: 1
    13  Client-Transfer-Encoding: chunked
    14  
    15  Content-type: text/xml
    16  
    17  <?xml version="1.0" encoding="UTF-8"?>
    18  <rss version="2.0"
    19    xmlns:content="http://purl.org/rss/1.0/modules/content/";
    20    xmlns:dc="http://purl.org/dc/elements/1.1/";

Line 14 should be removed so that line 15 still counts as header and
not as body. Maybe just an "\n" too many somewhere.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5

--- End Message ---
--- Begin Message ---
Hi Christophe,

Christophe Siraut wrote:
> I tried to only remove the blank line as you suggested but liferea was
> still not happy with it. Then I looked at other[1] feeds and noticed
> they do not present a Content-type header. Getting rid of it seems to
> make most feed clients happy.

I can confirm that the feed now works fine in Liferea.

> My bad, I closed the bug before my changes were active; it is now done,
> could you try again?

Yep. Works fine, thanks! Closing now. :-)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5

--- End Message ---

Reply to: