Dave,

Thank you for the data from the debugger.  It helped us to resolved a problem 
that we had misdiagnosed.  

We addressed the problem we had experienced by correcting code on the server 
the MediaCast urls referenced which also were not including content-length in 
the HTTP HEADs.  I am sorry that I was unable to provide MediaCast urls to that 
server, but it currently is not accessible from the public Internet.

Thank you again for your great work and the work of all of the Roller Team!

            Best regards,

            g

----- Original Message -----
From: "Dave Johnson" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, October 23, 2005 1:01 PM
Subject: Re: MediaCast and error404.jsp Bug?


Greg,

When you enter a Podcast URL in a blog entry, Roller uses HTTP HEAD  (via
the Java class HttpURLConnection) to query the URL to obtain the
content-type and content-length.

I tried each of the URLs you specified (which BTW are all web pages, not
"media" files) and stopped Roller in the debugger. All of those URLs are
returning a -1 content type, so Roller treats them as invalid (I believe the
enclosure tag needs both content-type and content-length). I'm not sure why
they return -1, I guess that means the websites are not returning
content-lengths at all.

So, I don't think this is a Roller MediaCast bug, but perhaps we could add
better error messages.

- Dave

Reply via email to