|
From: | Bill Page |
Subject: | Re: [Axiom-developer] RE: [Gcl-devel] Re: axiom porting |
Date: | Fri, 06 May 2005 09:28:47 -0400 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Camm Maguire wrote:
Bill Page <address@hidden> writes:Ok, problem solved (I think). It turned out not to be so exotic an issue. I modified the web server program as follows: - (format s "HTTP/1.1 ~S~%" (if fn 404 500)) + (format s "HTTP/1.1 ~S~%" (if fn 200 404 ))Thanks! This is just what we need -- an html guy!
Well, ah ...
If I understand HTTP correctly "404" in the header means "file not found". "200" means "ok". "500" means server error. So we were both saying "file not found" but then delivering the file anyway. If that's the case then it is surprizing that FireFox worked and not surprizing that IE closes the socket connection before we can send the file. With this change both FireFox and IE now seem to work reliable and identically for me. Anyway, I will take a closer look at the HTTP standard to make sure that our headers are correct and complete.
For quick reference here is a very easy introdution to HTTP: http://www.jmarshall.com/easy/http HTTP Made Really Easy A Practical Guide to Writing Clients and Servers -------- Bill Page.
[Prev in Thread] | Current Thread | [Next in Thread] |