Re: [Zope] ZServer stepping on Content-Type and Content-Length?

2000-08-29 Thread Dieter Maurer
Jeff Hoffman writes: > > In the index_html method, I have: > > RESPONSE.setHeader('Content-Type', 'video/foo') > RESPONSE.setHeader('Content-Length', 1212) > > However, when I telnet to my web port and do: > > HEAD /path/to/myfile.mpg HTTP/1.0 > > I get: > > Cont

[Zope] ZServer stepping on Content-Type and Content-Length?

2000-08-27 Thread Jeff Hoffman
Hello, I am playing around with the new ExtFile product released a few days ago, in addition to a similar product I wrote myself. Both are exhibiting an unusual behavior. In the index_html method, I have: RESPONSE.setHeader('Content-Type', 'video/foo') RESPONSE.setHeader('Content-Length', 12