From: Colin M. <co...@ch...> - 2005-06-30 04:44:43
|
On Wed, 2005-06-29 at 14:32 +0200, Michael Schlenker wrote: > yahalom wrote: > > I am trying to retrieve xml file that is accessible on my tclhttpd > > server. I use .net for it (I hate .net but our customers seems to like > > it). .net complains that tclhttpd committed http violation. the error > > is: > > Message "The underlying connection was closed: The server committed an > > HTTP protocol violation." > > I looked at tclhttpd headers and they look fine. I googled and found > > suggestions but none helped. > > does anybody know what http protocol violation tclhttpd commits? > > > Not sure, but maybe you should cc to the tclhttpd mailing list. > > The only thing i could think of would be claiming HTTP1.0 but supporting > some HTTP1.1 features. M$ should produce better error messages. There is one place where I *know* the released version violates HTTP1.* - in responding to if-changed-since, when responding to a request to send a file only if it's changed tclhttpd sends a no-change header, with a body or entity containing some verbiage. The spec clearly says there must be no such entity. I guess MS could be picking that up and complaining (although it'll be a cold day in hell when MS conforms to specs, but that's another discussion.) So, your correspondant might try getting the latest CVS version, where I think I fixed that problem. Colin. |