On Monday 19 November 2001 07:06 am, Aaron Held wrote:
> This was just a typo (that caused me a few hours of grief)
>
> I had written
> self.response().setHeader('Content-Type:','application/octet-stream')
>
> The Content-Type has a ':' after it. I took that out and made it
> lowercase and all is well.
>
> Thanks for your help.
>
> -Aaron
I imagine that's a common mistake and I have made it myself. Perhaps
setHeader() should axe a trailing colon either silently or printing a
warning to the console. I suppose we could also be harsh and raise an
exception...
-Chuck
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss