DODS directory listing problem
James Gallagher
jgallagher at gso.uri.edu
Thu Aug 9 11:41:49 PDT 2007
On Thu, 2004-06-17 at 19:20, Takeshi Horinouchi wrote:
> Dear James,
>
> > Yes, this is a bug in our server. The directory response is not
> > technically a valid HTTP response document.
>
> Could you let me know what was the bug? This would be helpful if
> I want to edit Ruby's http library.
Oh, I forgot to tell you. Sorry. That was silly of me...
The problem is that a valid HTTP response for HTML content must start
with a header like (for HTTP/1.1):
HTTP/1.1 200 OK
Content-Type: text/html
<content follow after a blank line>
This is bug 750; I put some more info in that report.
http://dodsdev.gso.uri.edu/bugzilla/show_bug.cgi?id=750
Note that you can look at the complete HTTP response using telnet. If
you have more questions about implementing the work-around I'll be happy
to answer them.
James
>
> Takeshi
--
__________________________________________________________________________
James Gallagher The Distributed Oceanographic Data System
jgallagher at gso.uri.edu http://unidata.ucar.edu/packages/dods
Voice/Fax: 406.723.8663
More information about the Opendap-tech
mailing list